How do I run the script?
How do I run a script written in python 2.6 in 7 through the console?
0
2 answers
Any of the options will work:
- In the context menu of the script, select "Open with..." and in the window that appears, select the python interpreter (
python.exe
). In this case, you can associate*.py
files with the interpreter. - Open the console and type something like
путь_к_python.exe путь_к_скрипту
. If the path topython
already exists in the environment variablePATH
, then you can simplypython путь_к_скрипту
.
3
Author: eigenein, 2012-08-21 10:05:08
c:\путькпитону\python scriptname.py
?
1
Author: qnub, 2012-08-21 10:03:29