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 program to write python?
Are sets hashable python?
What sort does python use?
What is iterable python?
If you installed a module with pip but it doesn’t import in your idle, what could it possibly be?
What is python shell and idle?
What will be the output of data[-2] from the list data = [1,5,8,6,9,3,4]?
How to clone or copy a list?
Where is python used?
What are key words in python?
How will you reload a module of python, explain?
How does determine the python manage the memory?
Is python fully object oriented?
What is the process of pickling and unpicling?
Is python too slow?