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

John Fouhy john at fouhy.net
Mon Feb 20 02:33:05 CET 2006


On 20/02/06, Kermit Rose <kermit at polaris.net> wrote:
> >>> import factor30.py
>
> 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.


More information about the Tutor mailing list