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
How do you make 3d plots/visualizations using numpy/scipy?
What is the best python ide for beginners?
Among lists,sets,tuples which is faster?
What is uuid used for?
What are the supported data types in python?
Number of argument’s that range() function can take ?
What does __name__=='__main__' in python mean?
Why do I receive a syntax error when printing a string in python 3?
Is there a way to remove the last object from a list?
What is the best ide for python?
What is hierarchical inheritance?
Is vs in python?
What are python methods?
Can python make websites?
Which server is best for python?