How to Run Python Scripts: Step by Step Guide
What is the Script in Python?
A script in Python can be defined as a file that consists of Python code or a program. It ends with an extension as .py
An interpreter can execute a script in two distinct ways, as listed below: β
A script can be executed as a module or as a script itself.
A code that is written in an interactive Python command prompt session manner.
How to run Python code and scripts interactively?
Here are steps to do this:
Step 1) The programmer must open the command line in the interactive mode.
Step 2) In the next step, invoke the python interpreter in the command line by typing the following command: β
Command:
python
π
Read Online
#Python #python_3
βββββββββββββ
Join
@python_bds for more cool data science materials.
*This channel belongs to
@bigdataspecialist group