executing python script from command line in window
Title
Question
i am a participant of spoken tutorial conducted by BPIT, Rohini, Delhi in collaboration with IIT-Bombay. i am getting problem in execution of "vi" command in 144 module of CD which is provided by nodal center. I am doing coding for python in window operating system. so let me guide how to execute python script from command line in window.
Python General
Answers:
Check the installation directory of python. Most probably it is C:\python27\
The general syntax ro run a script(which for instance is in D:\Documents\python\script.py)
Is:
Open command prompt
Type C:\python27\python.exe D:\Documents\python\script.py
Run it. It will work fine.
Ma'am
May I know the error,which pops up while executing the command.
Login to add comment