DEV Community

Sajin Joe J
Sajin Joe J

Posted on

About Python

Python is a beginner-friendly programming language used to build websites, automation tools, AI applications, and more. Let's learn it step by step.
1. What is Python?

  • Created by: Guido van Rossum.
  • First released: 1991.
  • File extension: .py
  • Example: hello.py

2. How to run Python on Linux Mint

Open Terminal with Ctrl + Alt + T.
Check whether Python is installed:

python3 --version
Enter fullscreen mode Exit fullscreen mode

Create a Python file:

nano hello.py
Enter fullscreen mode Exit fullscreen mode

Write this code in the file:

print("Hello, World!")
Enter fullscreen mode Exit fullscreen mode

Save with Ctrl + O, press Enter, and exit with Ctrl + X.

Run your file:

python3 hello.py
Enter fullscreen mode Exit fullscreen mode

Top comments (0)