Installation and Setup
Before you can write Python programs, you need to install Python on your computer and choose a development environment. Let's get you set up.
Step 1: Install Python
Download the latest version from python.org. Make sure to check "Add Python to PATH" during installation (Windows). On macOS, you can use Homebrew: `brew install python`. On Linux, use your package manager (e.g., `sudo apt install python3`).
Step 2: Verify Installation
Open a terminal/command prompt and run:
python --version
# or
python3 --version
You should see something like `Python 3.12.0`.Step 3: Choose an IDE or Text Editor
- PyCharm – Full-featured Python IDE (free community edition).
- VS Code – Lightweight with Python extension.
- IDLE – Comes with Python, great for beginners.
- Jupyter Notebook – Ideal for data science.
Step 4: Write Your First Program
Create a file `hello.py` with:
print("Hello, World!")
Run it: `python hello.py`Two Minute Drill
- Download Python from python.org and install.
- Verify installation with `python --version`.
- Choose an IDE like VS Code or PyCharm.
- Create a `.py` file and run it from the terminal.
Need more clarification?
Drop us an email at career@quipoinfotech.com
