0% found this document useful (0 votes)
3 views8 pages

Python Chapter 1

Python is a high-level, interpreted programming language created by Guido van Rossum in 1991, known for its readability and ease of use for beginners. It is utilized in various fields such as web development, AI, and automation, and has a wide range of libraries and frameworks. Despite being slower than C and C++, Python is supported by a large community and is maintained by the Python Software Foundation.

Uploaded by

brighterone16
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)
3 views8 pages

Python Chapter 1

Python is a high-level, interpreted programming language created by Guido van Rossum in 1991, known for its readability and ease of use for beginners. It is utilized in various fields such as web development, AI, and automation, and has a wide range of libraries and frameworks. Despite being slower than C and C++, Python is supported by a large community and is maintained by the Python Software Foundation.

Uploaded by

brighterone16
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

Python Chapter 1 Complete Notes (English + Hinglish)

1. What is Python?

English

Python is a high-level, interpreted, general-purpose programming language.

Hinglish

Python ek High-Level, Interpreted aur General-Purpose Programming Language hai jo beginners ke


liye bahut easy hai.

Created By: Guido van Rossum

Released In: 1991

2. Why Do People Use Python?

(A) Software Quality

English

Python code is readable, reusable and maintainable.

Hinglish

Python ka code clean aur samajhne mein easy hota hai.

Benefits

 Easy to read

 Easy to maintain

 Easy to reuse

(B) Developer Productivity

English

Python allows programmers to write programs faster.

Hinglish

Python mein kam code likhna padta hai.

Benefits

 Less coding

 Less debugging

 Faster development
(C) Program Portability

English

Python programs run on different operating systems without modification.

Hinglish

Same code Windows, Linux aur Mac par chal sakta hai.

(D) Support Libraries

Python ke paas hazaron ready-made libraries hain.

Examples

Field Library

AI TensorFlow

Data Science NumPy

Web Development Django

Automation Selenium

Networking Paramiko

(E) Component Integration

Hinglish

Python C, C++, Java aur .NET ke saath connect ho sakti hai.

Isliye Python ko Glue Language bhi kehte hain.

(F) Enjoyment

Hinglish

Python seekhna aur use karna fun hota hai.

3. Is Python a Scripting Language?

Answer:

Yes, but not only a scripting language.

Hinglish

Python use hoti hai:

 Scripting
 Web Development

 AI

 Networking

 Cyber Security

 Robotics

 Automation

4. Python's Biggest Disadvantage

English

Python is slower than C and C++.

Hinglish

Python ki execution speed C aur C++ se thodi slow hoti hai.

Reason

Python Code

Bytecode

Interpreter

Output

5. Famous Companies Using Python

 Google

 YouTube

 NASA

 Cisco

 IBM

 Intel

6. Applications of Python

System Programming

 File Management

 Server Administration
 Automation

GUI Development

Libraries:

 Tkinter

 PyQt

 wxPython

Used For:

 Calculator

 Desktop Apps

 Billing Software

Internet Programming

Frameworks:

 Django

 Flask

Used For:

 Websites

 Web Applications

Database Programming

Supported Databases:

 MySQL

 Oracle Database

 PostgreSQL

 SQLite

Rapid Prototyping

Hinglish

Software ka demo version bahut jaldi ban sakta hai.


Scientific Programming

Libraries:

 NumPy

 SciPy

Uses:

 Space Research

 Weather Forecasting

 Engineering

Gaming

Library:

 Pygame

Robotics

Used For:

 Robots

 Drones

 Automation Machines

Artificial Intelligence

Used For:

 Chatbots

 Machine Learning

 Face Recognition

 Self-Driving Cars

7. Python Support

Python ko maintain karti hai:

Python Software Foundation

Features

 Open Source
 Free

 Large Community

8. Technical Strengths of Python

(A) Object-Oriented Programming

Python Classes aur Objects support karti hai.

(B) Free

 Download Free

 Use Free

 Modify Free

(C) Portable

Runs On:

 Windows

 Linux

 Mac

 Mobile Devices

(D) Dynamic Typing

Example:

age = 20

Type declare karne ki zarurat nahi.

(E) Automatic Memory Management

Python khud memory manage karti hai.

(F) Built-in Data Types

List

fruits = ["Apple","Mango","Banana"]

Dictionary
student = {
"name":"Nitesh"
}

String

name = "Nitesh"

(G) Huge Standard Library

Modules:

 math

 os

 socket

 datetime

 urllib

(H) Mixable

Python:

 C ke saath

 C++ ke saath

 Java ke saath

mix ho sakti hai.

(I) Easy to Use

print("Hello World")
print("Hello GPT");

Compile karne ki zarurat nahi.

(J) Easy to Learn

Learning Time

 1 Week → Basics

 1 Month → Intermediate

 3 Months → Good Programmer


9. Why is Python Named Python?

Answer

Python ka naam snake par nahi rakha gaya.

Python ka naam British comedy show:

Monty Python's Flying Circus

se liya gaya tha.

10. Python vs Other Languages

Language Python Advantage

Tcl More Powerful

Perl Cleaner Syntax

Java Easier

C++ Simpler

Visual Basic Cross Platform

PHP More General Purpose

Ruby More Readable

You might also like