[Tutor] how can i use python 2 alongside 3?

Matthew Ngaha chigga101 at gmail.com
Thu Jan 24 23:06:48 CET 2013


> Did you find the "control-panel-way" to modify the PATH (assuming py.exe
> wasn't already in there) ?  Without it, I'd be surprised if right-click
> would work correctly.
>
> And as for IDLE, there are two different IDLEs, one in each directory. So
> run the one that corresponds to the python you'll be using.  How to do that?
> I dunno, since I don't use IDLE, but I'd find or make batch files called
> something like IDLE2.bat and IDLE3.bat that know how to find and run the
> appropriate IDLE.
>
i didnt use the control panel way but the right click is now working,
it was an error that in the script i had a txt.file open() and the
right click way said "no such file" but the other ways found the txt
file which is weird but right clicking works for other files without a
txt file. i can live with that. i think it wise for me to try to
permanently add the path with control panel.

Thanks for all the help, its such a relief to now be able to run python 2 files


More information about the Tutor mailing list