2. python getting started – learn python in most easy way for absolute begineers

Photo of author

By Waqas Ali

Python Getting Started Guide

Python is a versatile and beginner-friendly programming language that has gained immense popularity in recent years. Whether you’re a complete novice to coding or an experienced programmer looking to learn a new language, Python is an excellent choice. In this guide, we’ll walk you through the basics of getting started with Python, from installation to writing your first program.

Getting started – Installing Python

Python Getting started

Before you can getting started coding in Python, you need to install the Python interpreter on your computer. The interpreter is the program that reads and executes your Python code. Follow these simple steps to get Python up and running:

  1. Visit the Official Python Website: Go to the official Python website (python.org) and navigate to the “Downloads” section.
  2. Choose the Version: Python has two major versions: Python 2 and Python 3. Since Python 2 is no longer supported, it’s recommended to download the latest version of Python 3.
  3. Select Your Operating System: Choose the version of Python compatible with your operating system. Python supports Windows, macOS, and Linux.
  4. Download and Install: Click on the download link, and once the installer is downloaded, run it and follow the installation instructions.
  5. You can use the direct link for downloading python for your Device :

For Windows : Click Here to download Python for Windows

For Linux : Click Here to download Python for Linux

For Mac : Click Here to download Python for Mac

Always remember to do this setting while installing python

Your First Python Program

Now that Python is installed, it’s time to write your first Python program, commonly known as the “Hello, World!” program. This classic introductory program displays the phrase “Hello, World!” on the screen. It’s a simple yet essential step in getting acquainted with the language.

Open a text editor or an Integrated Development Environment (IDE) such as PyCharm, Visual Studio Code, or IDLE (Python’s built-in IDE), and follow these steps:

  1. Write the Code: Type the following code in your editor:
print("Hello, World!")
  1. Save the File: Save the file with a .py extension, such as “hello.py”.
  2. Run the Program: Open a command prompt or terminal, navigate to the folder where you saved the file, and run the program using the Python interpreter:
   python hello.py

You should see the output “Hello, World!” displayed on the screen.

Congratulations! You’ve just written and executed your first Python program.

Also read : Python Introduction for absolute Begineers

Understanding Python Syntax

Python - Syntax

Python’s syntax is straightforward and readable, making it easy for beginners to grasp. Here are some essential points to understand about Python’s syntax:

  1. Indentation: It uses indentation (whitespace at the beginning of a line) to indicate code blocks. This is different from other languages that use curly braces. Proper indentation is crucial and affects the flow and execution of your code.
  2. Comments: You can add comments using the “#” symbol. Comments are ignored by the interpreter and are used to explain the code or add notes for other developers.
   # This is a comment in Python
  1. Variables: In this language, you can create variables without explicitly specifying their type. The variable’s type is determined dynamically based on the assigned value.
   name = "John"
   age = 25
  1. Data Types: It supports various data types, including strings, integers, floating-point numbers, lists, tuples, dictionaries, and more.

Learning Resources

Python - Learning resources

It offers a wealth of learning resources for beginners. Here are some recommendations to help you get started:

  1. Official Documentation: The official website provides comprehensive documentation with tutorials, guides, and examples.
  2. Online Tutorials and Courses: There are numerous online platforms offering tutorials and courses for beginners. Websites like Codecademy, Coursera, and Udemy are excellent places to start.
  3. Books: There are plenty of books tailored for beginners, such as “Automate the Boring Stuff with Python” by Al Sweigart and “Python Crash Course” by Eric Matthes.
  4. Practice: Practice coding regularly. The more you code, the better you’ll become at Python.

Applications of Python

Python’s versatility allows it to be used in a wide range of applications:

  1. Web Development: Python’s frameworks like Django and Flask enable rapid development of web applications with clean and maintainable code.
  2. Data Science and Analytics: Python, along with libraries like Pandas and NumPy, is widely used for data manipulation, analysis, and visualization.
  3. Artificial Intelligence and Machine Learning: Python’s simplicity and powerful libraries like TensorFlow and Keras make it the preferred choice for AI and ML projects.
  4. Automation and Scripting: Python’s ability to automate repetitive tasks makes it ideal for system administration, testing, and workflow automation.
  5. Game Development: Python is used to develop 2D and 3D games using libraries like Pygame and Panda3D.
  6. Internet of Things (IoT): Python is employed in IoT projects for data processing, device control, and communication.


Python is a fantastic programming language for beginners and experienced developers alike. Its simplicity, versatility, and large community make it an excellent choice for various applications. By following this getting started guide and exploring the abundant learning resources, you’ll be well on your way to mastering and unleashing its power for your coding projects. Happy coding!

Leave a comment