On 25-Nov-11 04:42, nikunj.badja...@emc.com wrote:
Hi All,
Thanks for the info.
I had Python27 and Python32 both installed togethar.
In Windows the PATH env variable, I had set Python27 exe and lib path.
But When I do
C:\> Python [PressEnter]
I get 2.7
But when I run
C:\> script.py [PressEnter]
The script is running with Python3.2 , thts weird because I have set my Path
variable with Pytho27 exe and lib.
Which was causing the problem.
The problem is likely that when you installed Python 3.2, Windows
associated the ".py" extension with the new 3.2 interpreter, PATH
notwithstanding.
steve
--
Steve Willoughby / st...@alchemy.com
"A ship in harbor is safe, but that is not what ships are built for."
PGP Fingerprint 4615 3CCE 0F29 AE6C 8FF4 CA01 73FE 997A 765D 696C
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor