Answer Posted / chaitanya
Python scripts can be executed in two ways:
Suppose I want to execute script1.py
We can open the script1.py in IDE editor & run the script in the frontmost window of the python IDE by hitting the run all button.
Second way is using command prompt by making sure PATH is set appropriately directly type script name else type
>>>python script1.py
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What happened if we call a key that is not present in dictionary and how to tackle that kind of error ?
Which is faster c++ or python?
Can I use python to make a website?
What is format () in python?
How to find whether string is alphanumeric or not?
Why python is called python?
How strings can be sliced?
What is anaconda python used for?
What are range and xrange?
What is difference between panda series and dictionary in python?
What is the difference between append() and extend() method in python?
Is node better than python?
What are the built-in types available in python?
Write a program to produce fibonacci series in python.
What is the concatenation?