0% found this document useful (0 votes)
7 views2 pages

Python Installation and Basics Guide

Python is a high-level, interpreted programming language known for its readability, extensive libraries, and platform independence. It features dynamic typing, object-oriented programming, and a vast ecosystem of libraries. The document also provides a step-by-step guide for installing Python and running code, along with recommended tools for development.

Uploaded by

k14205448
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Python Installation and Basics Guide

Python is a high-level, interpreted programming language known for its readability, extensive libraries, and platform independence. It features dynamic typing, object-oriented programming, and a vast ecosystem of libraries. The document also provides a step-by-step guide for installing Python and running code, along with recommended tools for development.

Uploaded by

k14205448
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

INTRODUCTION FOR PYTHON

What is Python?
Python is a high-level, interpreted, general-purpose programming language known for its:
 Readability and simplicity (easy syntax like plain English)
 Extensive libraries for tasks like data analysis, machine learning, web development,
automation, and more
 Platform independence (write once, run anywhere)
 Open-source and free to use
Features of Python:
 Dynamically typed: No need to declare data types explicitly
 Interpreted language: Executes line-by-line, making it easier to debug
 Object-oriented: Supports classes and objects
 Vast ecosystem: Libraries like NumPy, Pandas, scikit-learn, TensorFlow, Django,
Flask, etc.
 Cross-platform: Runs on Windows, macOS, and Linux

How to Install Python (Step-by-step)


1. Download Python
 Go to the official website: [Link]
 Click on the latest version for your OS (e.g., Python 3.12.x for
Windows/macOS/Linux)
2. Install Python on Windows
1. Run the installer
2. Important: Check the box that says "Add Python to PATH"
3. Click Install Now
4. Wait for installation to finish
3. Verify Installation
Open Command Prompt and type:
python --version
You should see something like:
Python 3.12.x
How to Run Python Code
 Interactive Mode: Open terminal or command prompt → type python → you can
now run Python commands line-by-line
 Script Mode: Save your code in a file like [Link] and run it:
python [Link]

Recommended Tools
Tool Purpose

IDLE Built-in Python editor

VS Code Lightweight IDE with extensions

Jupyter Ideal for data science tasks

PyCharm Powerful IDE for Python projects


Command for this program :
Pandas : pip install pandas

You might also like