saving . . . saved executing python script from command line in window has been deleted. executing python script from command line in window has been hidden .
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 None min None sec 29-06-20, 3:55 p.m. drarunimakumari

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.

30-06-20, 3:29 a.m. HarshM
Sir 
thank you for response.
i did this but it is not working.
regards
Arunima Kumari
30-06-20, 12:42 p.m. drarunimakumari

Login to add comment


Ma'am
May I know the error,which pops up while executing the command.
30-06-20, 1:04 p.m. HarshM
vi 
30-06-20, 1:22 p.m. drarunimakumari
You are trying to run a python script in windows right??
30-06-20, 1:27 p.m. HarshM

Login to add comment


Log-in to answer to this question.