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
Python How to create a multidimensional list?
What is the mro in python?
In python, how do I read a file line-by-line into a list?
Is python strongly typed?
Is there polymorphism in python?
What is list comprehension how to define it and when to use?
What is the use of break statement?
Explain about default database with python?
What should I learn in python?
What is __ getitem __?
Why lambda forms in python does not have statements?
Is Django written in Python?
What are tuples and relation?
Which is fastest implementation of python?
Does python support inheritance?