[Tutor] How can I make Python Shell see new versionoffunctionsubroutine?

Kermit Rose kermit at polaris.net
Mon Feb 20 03:26:33 CET 2006


 
From: John Fouhy
Date: 02/19/06 20:34:13
To: tutor at python.org
Subject: Re: [Tutor] How can I make Python Shell see new
versionoffunctionsubroutine?
 
>
> Traceback (most recent call last):
>   File "<pyshell#270>", line 1, in -toplevel-
>     import factor30.py
> ImportError: No module named factor30.py
 
Because the module is named 'factor30', not 'factor30.py' ...
 
--
John.

********

Thank you very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060219/8ae53912/attachment.html 


More information about the Tutor mailing list