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 are the built-in types of python?
What is sys stdout flush ()?
What is a sympy?
What is the use of numpy package?
What are the file-related modules we have in python?
Explain try keyword?
What is map and filter in python?
How to do relative imports in python?
Number of argument’s that range() function can take ?
What do you understand by python generator?
Is Python a good choice for web development
Get the cartesian product of a series of lists?
What is python db api?
Are uuids sequential?
What is difference between list and set in python?