Module Problem

Bennie benniego_s at mac.com
Sun Jul 21 09:23:44 EDT 2002


Carl heeft geschreven:
> - I downloaded the Python22 software along the the Python Manuals.
> - I got the part where you are supposed to save the fibo.py module.
> - I saved the module to C:\Python22 using the notepad in windows 98.
> the file in that directory was saved as fibopy~1 
> the full file name reads as fibo.py.txt
> - The python shell does not recognize this as a module when I try to import it.
> - Please help me get around this problem.
> 
> Thanks.

Save in notepad with "fibo.py" you have saved as a text file.
Look by type and than all or "fibo.py" and than save.
For now, rename it in the command prompt.
'rename fibo.py.txt fibo.py'




More information about the Python-list mailing list