Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do we make python scripts executable?

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


Please Help Members By Posting Answers For Below Questions

What program to write python?

817


Are sets hashable python?

777


What sort does python use?

770


What is iterable python?

890


If you installed a module with pip but it doesn’t import in your idle, what could it possibly be?

893


What is python shell and idle?

807


What will be the output of data[-2] from the list data = [1,5,8,6,9,3,4]?

740


How to clone or copy a list?

814


Where is python used?

845


What are key words in python?

798


How will you reload a module of python, explain?

795


How does determine the python manage the memory?

914


Is python fully object oriented?

834


What is the process of pickling and unpicling?

876


Is python too slow?

883