do not know what is wrong python under win2k

Peter Hansen peter at engcorp.com
Tue Dec 18 02:30:19 CET 2001


Courageous wrote:
> 
> >This was the problem - i always thought i had to type this in in the
> >open interpreter shell.
> 
> You can get the interpreter to interpret a python file by importing it,
> ala:
> 
> >>>> import spam.py

Correction, "import spam" (no extension inside Python).



More information about the Python-list mailing list