Date Comparison and Manipulation Functions?

John Machin sjmachin at lexicon.net
Tue Aug 26 20:52:00 EDT 2008


On Aug 27, 10:21 am, "W. eWatson" <notval... at sbcglobal.net> wrote:
>
> I'm using IDLE for Python 2.4, and put pfydate distribution in
> C:\Python24\Lib\site-packages\pfydate, as required by the
> <ttp://www.ferg.org/pyfdate/download.html> page.
> How to install pyfdate.
>
>      Save pyfdate.py into your PythonNN/Lib/site-packages directory.
> I copied it into C:\Python24\Lib\site-packages\pfydate

If that means that you ended up with
   C:\Python24\Lib\site-packages\pfydate\pyfdate.py
then you have *not* followed the instructions "Save pyfdate.py into
your PythonNN/Lib/site-packages directory".
You need to end up with
   C:\Python24\Lib\site-packages\pyfdate.py

If in doubt, get to a command prompt and type
   dir C:\Python24\Lib\site-packages\pfydate*
and tell us what you see.

>
> Execution in IDLE produced:
> ---------------------------------
> Traceback (most recent call last):
>    File
> "C:\Sandia_Meteors\Improved_Sentinel\Sentinel_Playground\date_example.py",
> line 1, in ?
>      from pyfdate import *
> ImportError: No module named pyfdate
> ---------------------------------
> Looking in the Path Browser, I don't see pyfdate. I see PIL package and
> scipy package.



More information about the Python-list mailing list