Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
211 views

Python Tutorial For Beginners - Learn Programming Basics (PDF)

Uploaded by

Rashidul Hasan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
211 views

Python Tutorial For Beginners - Learn Programming Basics (PDF)

Uploaded by

Rashidul Hasan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

Python Tutorial for Beginners: Learn Programming


Basics [PDF]
By Steve Campbell Updated February 24, 2023

Python Tutorial Summary


In this Python tutorial for beginners, you will learn Python programming basics and
advanced concepts. This Python course contains all the Python basics from installation to
advanced stuff like Python data science. This Python programming tutorial helps you to
learn Python free with Python notes and Python tutorial PDF. These Python tutorials will
help you learn the basics of Python.

What is Python Programming Language?


Python is an object-oriented programming language created by Guido Rossum in 1989. It is
ideally designed for rapid prototyping of complex applications. It has interfaces to many OS
system calls and libraries and is extensible to C or C++. Many large companies use the Python
programming language, including NASA, Google, YouTube, BitTorrent, etc.

Python Programming

Python Syllabus

Python Programming Basics for Beginners

👉 Lesson
Install Python IDE — How to Install Python on Windows [Pycharm IDE]
1

https://www.guru99.com/python-tutorials.html 1/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

👉 Lesson
Python Hello World — Create Your First Python Program
2

👉 Lesson
Python print() Function — How to Print in Python with Examples
3

👉 Lesson
Python Variables — How to Define/Declare String Variable Types
4

👉 Lesson Escape Character Sequences — Python Escape Character Sequences


5 (Examples)

👉 Lesson How to check the Python Version — Windows, Mac, Linux, Script, Command
6 Line

👉 Lesson
How to Run Python Scripts — Step by Step Guide
7

Python Data Structure

👉 Lesson
Python TUPLE — Pack, Unpack, Compare, Slicing, Delete, Key
1

👉 Lesson
Python Dictionary(Dict) — Update, Cmp, Len, Sort, Copy, Items, str Example
2

👉 Lesson
Python Dictionary Append — How to Add Key/Value Pair
3

👉 Lesson Python Operators — Arithmetic, Logical, Comparison, Assignment, Bitwise &


4 Precedence

👉 Lesson
Python Not Equal (!=) — Python Not Equal (!=) Operator with Examples
5

👉 Lesson
Python Arrays — Create, Reverse, Pop with Python Array Examples
6

https://www.guru99.com/python-tutorials.html 2/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

👉 Lesson
Python 2D Arrays — Python 2D Arrays: Two-Dimensional List Examples
7

Python Conditional Loops

👉 Lesson
Python Conditional Statements — IF…Else, ELIF & Switch Case
1

👉 Lesson
Python For & While Loops — Enumerate, Break, Continue Statement
2

👉 Lesson
Python break, continue, pass statements — Learn with Example
3

👉 Lesson
Python OOPs — Class, Object, Inheritance and Constructor with Example
4

👉 Lesson
Python Polymorphism — Polymorphism in Python with EXAMPLES
5

👉 Lesson Mutable & Immutable Objects — Mutable & Immutable Objects in Python
6 {EXAMPLES}

Python Strings

👉 Lesson
Python Strings — Replace, Join, Split, Reverse, Uppercase & Lowercase
1

👉 Lesson
Python String strip() Function — What is, Examples of strip() Function
2

👉 Lesson
Python String count() — Python String count() Method with Examples
3

👉 Lesson
Python String format() — What is, How works & Examples
4

https://www.guru99.com/python-tutorials.html 3/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

👉 Lesson
Python String len() Method — Python string length | len() method Example
5

👉 Lesson
Python String find() Method — Python string.find() Method With Examples
6

👉 Lesson Python String split() Method — Python String split(): List, By Character,
7 Delimiter EXAMPLE

👉 Lesson
How to reverse a String — How to reverse a String in Python (5 Methods)
8

Python Functions

👉 Lesson 1 Python Main Function & Method Example — Understand __main__

Python Functions Examples — Call, Indentation, Arguments & Return


👉 Lesson 2
Values

👉 Lesson 3 Lambda Functions in Python — Python Lambda Functions with EXAMPLES

👉 Lesson 4 Python abs() Function — Absolute Value Examples

👉 Lesson 5 Python round() Function — What is the round() function in Python?

👉 Lesson 6 Python range() Function — Float, List, For loop Examples

Python map() Function — What is the map() function in Python? (With


👉 Lesson 7
Examples)

👉 Lesson 8 Python Timeit() with Examples — What is Python Timeit()?

👉 Lesson 9 Yield in Python Tutorial — Generator & Yield vs Return Example

👉 Lesson
Python Queue — FIFO, LIFO Example
10

👉 Lesson
Python Counter in Collections — What is, Use & Examples
11

https://www.guru99.com/python-tutorials.html 4/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

👉 Lesson
Enumerate() Function in Python — Loop, Tuple, String (Example)
12

👉 Lesson
Python time.sleep() — Add Delay to Your Code (Example)
13

👉 Lesson
type() and isinstance() in Python — What is, Syntax & Examples
14

👉 Lesson
Python New Line — How to Print WITHOUT Newline in Python
15

👉 Lesson
Python Timer Function — Measure Elapsed Time with EXAMPLES
16

Python File Handling

👉 Lesson
Python File Handling — How to Create, Open, Append, Read, Write
1

👉 Lesson
Python Check If File or Directory Exists — How to Check
2

👉 Lesson Python Copy File Methods — Python COPY File using shutil.copy(),
3 shutil.copystat()

👉 Lesson
Python Rename File — Python Rename File and Directory using os.rename()
4

👉 Lesson Python ZIP file with Example — How to create Zip File in Python with
5 Examples

👉 Lesson
Python Exception Handling — Try, Catch, Finally
6

👉 Lesson
Python readline() Method — What is Python readline? (With Examples)
7

Python Data Science


https://www.guru99.com/python-tutorials.html 5/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

👉 Lesson 1 SciPy in Python Tutorial — What is | Library & Functions Examples

👉 Lesson 2 Reading and Writing CSV Files in Python — Using Module & Pandas

👉 Lesson 3 Python JSON — Encode(dumps), Decode(loads) & Read JSON File

👉 Lesson 4 Python with MySQL — Connect, Create Database, Table, Insert [Examples]

👉 Lesson 5 PyUnit Tutorial — Python Unit Testing Framework (with Example)

👉 Lesson 6 Facebook Login using Python — FB Login Example

👉 Lesson 7 Python Matrix — Transpose, Multiplication, NumPy Arrays Examples

Differences: Python vs Other Technologies

👉 Lesson 1 Python Vs PHP — What’s the Difference?

👉 Lesson 2 Python Vs Go — What’s the Difference?

👉 Lesson 3 Python Vs JavaScript — What’s the Difference?

👉 Lesson 4 Python Vs Ruby — What’s the Difference?

👉 Lesson 5 Python 2 Vs Python 3 — Key Differences Between Python 2 and Python 3

👉 Lesson 6 Python Vs C++ — What’s the Difference?

👉 Lesson 7 Flask Vs Django — What’s the Difference Between Flask & Django?

Python List

👉 Lesson 1 Python List — Comprehension, Apend, Sort, Length, Reverse EXAMPLES

👉 Lesson 2 Python Average — Find AVERAGE of a List in Python with Example

👉 Lesson 3 Python List count() — Python List count() method with Examples

👉 Lesson 4 Python remove Duplicates from a List — Using Different Methods

👉 Lesson 5 Remove element from a Python LIST — [clear, pop, remove, del]
https://www.guru99.com/python-tutorials.html 6/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

👉 Lesson 6 Python List index() — Python List index() method with Examples

👉 Lesson 7 Python List sort() — Python List sort() with Examples

👉 Lesson 8 Python List Append() — Python List Append() with Examples

Must Know Stuff!

👉 Lesson
Python RegEx — re.match(), re.search(), re.findall() with Example
1

👉 Lesson Python DateTime — Python DateTime, TimeDelta, Strftime(Format) with


2 Examples

👉 Lesson
Python CALENDAR Tutorial — Python Calendar Module with Example
3

👉 Lesson
PyTest Tutorial — What is, How to Install, Framework, Assertions
4

👉 Lesson
Django Tutorial — A Complete Beginner’s Guide to Django
5

👉 Lesson Urllib.Request and urlopen() — Python Internet Access using Urllib.Request


6 & urlopen()

👉 Lesson
Python XML Parser Tutorial — Read xml file example (Minidom, ElementTree)
7

👉 Lesson
PyQt5 Tutorial — Design GUI using PyQt in Python with Examples
8

👉 Lesson Multithreading in Python with Global Interpreter Lock (GIL) — What is, Why
9 Need (With Examples)

👉 Lesson
Python Modules — Import module in Python with Examples
10

👉 Lesson Python Factorial — Python Program to find factorial () of a Number

https://www.guru99.com/python-tutorials.html 7/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

11

👉 Lesson Python Swap two numbers — Swap two numbers without using a third
12 variable: C, Python Program

👉 Lesson
[::-1] in Python with Examples — [::-1] in Python with Examples
13

👉 Lesson How to Square a Number in Python — How to Square a Number in Python (6


14 ways)

👉 Lesson Python Projects for Beginners — 35 Python Projects for Beginners with
15 Source Code

👉 Lesson
How to install PIP on Windows — How to install PIP on Windows
16

👉 Lesson
Palindrome in Python — Program to check a Number or String
17

Python Tools, Interview Questions, Tools, Books & Tutorial PDF

👉 Lesson Best Web Scraping Tools — Top 15 Best Web Scraping Tools for Data
1 Extraction

👉 Lesson
BEST Data Extraction Tools — 9 BEST Data Extraction Tools
2

👉 Lesson
Best Python IDE — Top 10 BEST Python Editors for Windows, Linux & Mac
3

👉 Lesson
Python Certification Exam — BEST Python Certification Exam
4

👉 Lesson Python Programming Books — 11 Best Python Programming Books for


5 Beginner & Experts

👉 Lesson
Python Tutorial PDF — Download Python Tutorial PDF for Beginners
6

https://www.guru99.com/python-tutorials.html 8/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

👉 Lesson
Best Python Courses — 15 Best Online Python Courses Free & Paid
7

👉 Lesson
Python Interview Questions — Python Interview Questions and Answers
8

Why Learn Python Programming?


Python programming is widely used in Artificial Intelligence, Natural Language Generation,
Neural Networks, and other advanced fields of Computer Science. Moreover, Python is one
of the most demanded programming languages in the market, so there are huge job
opportunities for candidates having knowledge of Python programming.

What will you learn in this Python Tutorial for Beginners?


In this Python for beginners tutorial, you will learn Python installation, variables, Data
structure, loops, strings, functions, file handling, Python SciPy, Python JSON, Python with
MySQL, matrix, Python List, Python Regex, PyTest, PyQt, multithreading, Python interview
questions, and many more interesting Python concepts.

Prerequisites for learning Python Tutorial?


This Python tutorial is designed for absolute beginners for learning Python online. However,
if you have basic knowledge of any programming language concepts like loops, functions,
etc., it will help you learn Python online easily.

Python Programming Characteristics

It provides rich data types and easier to read syntax than any other programming
languages
It is a platform-independent scripted language with full access to operating system
API’s
Compared to other programming languages, it allows more run-time flexibility
It includes the basic text manipulation facilities of Perl and Awk
A module in Python may have one or more classes and free functions
Libraries in Pythons are cross-platform compatible with Linux, Macintosh, and Windows
https://www.guru99.com/python-tutorials.html 9/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

For building large applications, Python can be compiled to byte-code


Python supports functional and structured programming as well as OOP
It supports interactive mode that allows interacting Testing and debugging of snippets
of code
In Python, since there is no compilation step, editing, debugging, and testing are fast.

Applications of Python Programming Language

Program video games


Build Artificial Intelligence algorithms
Program various scientific programs such as statistical models

Python vs JAVA vs Perl vs TCL vs PHP vs RUBY vs C++ vs


JavaScript
Python is one of the most popular programming languages. Currently, each of the following
six languages are being used by programmers for developing both desktop and web
applications. That is why, it is important for programmers to compare Python with JAVA, Perl
, TCL, PHP, RUBY, C++, and JavaScript to pick the right language for their projects.

Programming
Difference Between Python and Other Languages
Languages

Python takes less time to develop, although it is expected to run


slower than Java programs
Java
Due to Python high-level data types and its dynamic typing
programs are shorter than Java programs

Perl
Although both these languages are considered similar in many
ways, Perl supports common application-oriented tasks like report
generating, file scanning, etc. while Python supports for common
programming methodologies like data structure design and OOPs
programming for programmers making language to readable code

https://www.guru99.com/python-tutorials.html 10/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

Tcl is a standalone programming language it is considered weak on


Tcl data structures
It is slower in executing code compared to Python

Python has easy to read code while PHP has more syntax from
C/C++ and Perl
In Python, classes are used extensively in the standard library, while
PHP has SPL which is fully class-based
PHP Python supports structured exception handling while most PHP
functions do not use exceptions for reporting errors
Development features in Python are provided by an add-on, while
in PHP it is built in
Python supports major GUI frameworks

Compare to Ruby, Python has a rich set of data structures, internal


functions, better namespace handling and use of modules and
iterators
Python supports multiple inheritance while Ruby does not.
To close all its scopes, Ruby requires “end” or “}” while Python uses
RUBY the white space only.
RUBY is preferred for Web development and functional
programming, while Python is for Academic and scientific
programming.
Ruby work on “Do more with less.” Philosophy while PYTHON “One
right way to do things.”

C++
Python code is quite shorter than most other programming
languages like C or C++.
Python is a dynamically typed language, while C++ is a statically
typed language.
https://www.guru99.com/python-tutorials.html 11/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

Python is server side. JavaScript is client side.


JavaScript Python uses indentation and whitespace. JavaScript uses curly
brackets to designate blocks of code.

In these Python tutorials, we will cover Python 2 and Python 3 Examples.

Learn Python in 7 Days!!!


Join our FREE Course

you@gmail.com

Submit

Report a Bug Next

AD

About
About Us
Advertise with Us
Write For Us
Contact Us

https://www.guru99.com/python-tutorials.html 12/13
3/17/23, 11:20 AM Python Tutorial for Beginners: Learn Programming Basics [PDF]

Career Suggestion
SAP Career Suggestion Tool
Software Testing as a Career

Interesting
eBook
Blog
Quiz
SAP eBook

Execute online
Execute Java Online
Execute Javascript
Execute HTML
Execute Python

© Copyright - Guru99 2023         Privacy Policy  |  Affiliate


Disclaimer  |  ToS

https://www.guru99.com/python-tutorials.html 13/13

You might also like