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

Kermit Rose kermit at polaris.net
Mon Feb 20 02:24:23 CET 2006


 
From: Alan Gauld
Date: 02/19/06 19:55:13
To: Kermit Rose
Cc: Python Tutor list
Subject: Re: [Tutor] How can I make Python Shell see new version
offunctionsubroutine?
 
Restoring the tutor list on CC
 
******

Thanks for reminding me.


Assuming Windows NT/2000/XP you go to My Computer and right click
Select Properties and go to the Advanced tab
 
Click Environment Variables button
 
Under System Variables click New
In Varable Name type PYTHONPATH
in upper case
 
In variable value type your folder name
 
c:\math\factoring


I saw the PYTHONPATH name being added to the variable list.

how might I verify, after the fact, that the name is correct?
 
****************

I did all that.

Why did I get this diagnostic?

>>> import factor30.py

Traceback (most recent call last):
  File "<pyshell#270>", line 1, in -toplevel-
    import factor30.py
ImportError: No module named factor30.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060219/15d69d4b/attachment.html 


More information about the Tutor mailing list