[Tutor] some web and python version questions

Dave Angel davea at davea.name
Tue Mar 5 04:06:41 CET 2013


(Please get the quoting right in your messages.  Either you've got a 
brain-dead mail program, or you're trying to bypass it's methods.  On 
your last message you attributed Eryksun's comments as though they were 
your own.)

On 03/04/2013 09:49 PM, Lolo Lolo wrote:

> no sorry i made a mistake it didnt work.
      <snip>
>
>   im not sure what to do because on double click they still open and work fine, so the right program is still opening them.
>

No idea what you mean by work fine.  You mean that it runs 3.0 for some 
scripts when you right click on the script, and 3.3 on other scripts 
when you right click on them?  In that case, you must have the py.exe 
associated with the .py directory, and you must have shebang lines in 
your scripts.  So you should be able to simply name the script on the 
command line:

Instead of    python  myscript.py

Just say      myscript.py




-- 
DaveA


More information about the Tutor mailing list