[Tutor] Help with setting path

Alan Gauld alan.gauld at btinternet.com
Fri Nov 2 21:05:18 CET 2007

"sith ." <sith618 at yahoo.com> wrote

> However, when I try to run the program, which is stored 
> in pthon25/work using IDLE, I get a traceback error.  

Cannyou send us the error, that helps a lot in trying to debug. 
Cut n paste the entire error text.

> I can run the program in dos though and it also seems 

That suggests that there is nothing wroing with your PATH 
settings. They mainly affect how it works under DOS.

It may be that IDLE is simply giving you a traceback 
for sys.exit() which it does because it catches the exit 
and prevents you from dropping out of IDLE itself.

Let us see the error traceback and we can decide.


Alan Gauld
Author of the Learn to Program web site

More information about the Tutor mailing list