do not know what is wrong python under win2k

Peter Hansen peter at engcorp.com
Mon Dec 17 20:30:19 EST 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