Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

How to run python in command promt

To start, you need to make sure the command line application you are using has access to your Python installation. To do this, open the command prompt, type python and press ‘Enter’. You should see a message that documents the Python version that is being used followed by >>>, which indicates the next code you type will be executed by the Python interpreter. It will look something like this.
c:UsersComputer_name>
Type python and press Enter
c:UsersComputer_name>python
some python compatability details will show
Then execute a simple print command to test it
>>>
for example
>>>print<'Hello Earthlings'>
Hello Earthlings
So, this is a basic programme to print the data inside the quotation
Thank you
Ryderjerome
Comment

PREVIOUS NEXT
Code Example
Python :: python for infinite range 
Python :: sort a tensor pytorch 
Python :: convert to string except missing 
Python :: negative index python 
Python :: csv file python 
Python :: python threadpool map exception 
Python :: handling image files django aws 
Python :: adding multiple items to a list python 
Python :: how to remove all line in file python 
Python :: multiple ternary operator python 
Python :: all python 
Python :: symmetric_difference_update() Function of sets in python 
Python :: python math.factorial algorithm 
Python :: if len formula applied to a column python 
Python :: create a number of variables based on input in python 
Python :: flask-sqlalchemy inheritance 
Python :: python literation (looping) 
Python :: Find From Table Django 
Python :: aws ses service python example 
Python :: needle in haystack 
Python :: sort python dictionary with values of list by index of first one 
Python :: python list chunks using yield 
Python :: how to square in python 
Python :: spark sparsevector to list 
Python :: internet spam 
Python :: pygame kreis definition 
Python :: strategy forex with python 
Python :: python messaging networking 
Python :: python print functoin 
Python :: Improve the Request Use Proxies 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =