Date Comparison and Manipulation Functions?

W. eWatson notvalid2 at sbcglobal.net
Tue Aug 26 21:24:10 EDT 2008


John Machin wrote:
> 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
None of the folders in C:\Python24\Lib\site-packages\ have py as a suffix 
(as seen either by the IDLE path browser or XP). My folder is exactly 
C:\Python24\Lib\site-packages\pfydate in XP and it contains about 12 py files.
There are exactly three folders under
C:\Python24\Lib\site-packages\ according to the IDLE path browser. This does 
not agree with XP, which has:
Numeric
pfydate
scipy
numpy
PIL
> 
> 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.


-- 
            Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

              (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
               Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet

                     Web Page: <www.speckledwithstars.net/>



More information about the Python-list mailing list