GETTING STARTED WITH PYTHON.

--

Python Programming

Python is free and open source programming language. Python is an interpreted language, which means the source code of a Python program is converted into bytecode that is then executed by the Python virtual machine.

Examples of common interpreted languages are PHP, Ruby, Python, and JavaScript

It’s widely used to accomplish variety of tasks- Web development , Data science, Automation..etc.

In this article, I'll be using python3. Details shown in below image

Python version

The python program file are named with extension .py ( e.g firstprogram.py) . So, python knows it’s python file. In order to execute the python program use the command- [ python3 <<Pythonfile.py>>]

# This is first python program.
# Create a file firstprogram.py. Enter the below details the file.

print("This is my first program!!!")
# To run the python program file, execute the below command in you terminal.
$ python3 firstprogram.py
First program

--

--

Khemnath chauhan
Khemnath chauhan

No responses yet