Installing Python and Setting Up IDE (VS Code, PyCharm, Jupyter) | Python Course

 

🐍 Installing Python and Setting Up Your IDE (VS Code, PyCharm, Jupyter)

“Python Installation Guide”


Introduction

Before you can write powerful Python programs, you first need to install Python on your computer and set up a good environment for coding. In this lesson, we’ll walk step by step through:

  • How to install Python (Windows, Mac, Linux)

  • Setting up your first IDE (VS Code, PyCharm, Jupyter Notebook)

  • Running your first Python program successfully

By the end of this article, you’ll have a working Python setup ready for learning and building projects. 🚀


Step 1: Downloading and Installing Python

🔹 For Windows

  1. Go to the official website: https://www.python.org/downloads/.

  2. Click Download Python (latest version).

  3. Open the installer → Check the box “Add Python to PATH” (important).

  4. Click Install Now → Wait for installation to complete.

  5. Open Command Prompt (cmd) and type:

    python --version

    If it shows a version (e.g., Python 3.12.0), installation was successful ✅

🔹 For Mac

  1. Python is usually pre-installed on macOS.

  2. To check, open Terminal and type:

    python3 --version
  3. If not installed, download it from python.org.

  4. Install Homebrew (package manager) for easier updates:

    brew install python

🔹 For Linux

  1. Open Terminal and run:

    sudo apt update sudo apt install python3
  2. Verify installation:

    python3 --version

Step 2: Choosing an IDE (Integrated Development Environment)


“VS Code PyCharm Jupyter Setup for Python”

An IDE is where you write, run, and test your code. Python offers several options:

VS Code (Visual Studio Code)

PyCharm (by JetBrains)

Jupyter Notebook

  • Best for data science, machine learning, and visualization.

  • Install via pip:

    pip install notebook jupyter notebook
  • Opens in your browser → great for writing code + notes.


Step 3: Running Your First Python Program

Once Python and IDE are ready, let’s write your first script:

Using Command Prompt / Terminal

print("Hello, Python World!")

Using VS Code / PyCharm

  1. Create a new file: first_program.py.

  2. Paste:

    print("Welcome to Python Learning with Inspire Ahead!")
  3. Run the file → You should see the output.


Step 4: Testing Your Setup

Run a small calculation program:

# Simple calculator a = 5 b = 3 print("Sum:", a + b) print("Difference:", a - b) print("Product:", a * b) print("Division:", a / b)

If you see correct results, congratulations 🎉 → Your Python setup is ready!


Conclusion

You’ve successfully:

  • Installed Python on your system

  • Chosen an IDE (VS Code, PyCharm, or Jupyter)

  • Run your first Python program

👉 In the next lesson, we’ll dive into Python Basics: Variables and Data Types. This is where real coding begins!

Stay tuned and keep practicing. 🚀


Comments

AI and the Future of Finance: How Artificial Intelligence is Transforming Money Management

2025's Best Free AI Financial Tools | Smart Money Apps

AI and the Future of Finance: How Artificial Intelligence is Transforming Money Management

🧮 Python Operators Explained with Examples (Beginner Friendly Guide)