This is only a guess, but when your typing 'python foo.py' the command prompt 
is looking for foo.py in its path and can't find it, then it throws the error.

When your in the interpreter, python has already updated its path so it can 
find your file.

I don't think adding the directory to 'python\Lib\Site-packages' is doing what 
you think it should do.

Bodsda 
Sent from my BlackBerry® wireless device

-----Original Message-----
From: surya k <sur...@live.com>
Sender: tutor-bounces+bodsda=googlemail....@python.org
Date: Wed, 7 Dec 2011 00:27:30 
To: Python Tutor<tutor@python.org>
Subject: [Tutor] unable to run file though dir path included

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to