0% found this document useful (0 votes)
51 views18 pages

Class 2

The document contains the syllabus for Core Python and Advanced Python courses offered by MindCoder. The Core Python syllabus covers basic Python concepts like syntax, strings, operators, conditional statements, loops, collections and functions. The Advanced Python syllabus covers more complex topics like modules, packages, file handling, OOP concepts, inheritance, exception handling, regular expressions, threading, database connectivity, NoSQL, XML/JSON parsing, libraries, web technologies and frameworks, version control with GitHub, cloud computing with AWS and GCP, software testing and more.

Uploaded by

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

Class 2

The document contains the syllabus for Core Python and Advanced Python courses offered by MindCoder. The Core Python syllabus covers basic Python concepts like syntax, strings, operators, conditional statements, loops, collections and functions. The Advanced Python syllabus covers more complex topics like modules, packages, file handling, OOP concepts, inheritance, exception handling, regular expressions, threading, database connectivity, NoSQL, XML/JSON parsing, libraries, web technologies and frameworks, version control with GitHub, cloud computing with AWS and GCP, software testing and more.

Uploaded by

Tarique Ejaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

MindCoder

Core & Advanced Python


with MySQL and NoSQL
Syllabus
CorePython

1. Introduction
2. Basic Python Syntax
3. String Handling
4. Operators
5. Conditional Statements
6. Looping Statements
7. Control Statements
8. Collections
9. Functions
Syllabus
AdvancedPython

1. Modules
2. Packages
3. File Handling
4. OOPS Concept
5. Classes and Objects
6. Inheritance and Polymorphism
7. Abstract classes and Interfaces
8. Exception Handling
9. RegularExpressions
10. Threading
11. Database Connectivity
12. MongoDB (NoSQL)
13. Python XML and JSON Parser
14. Python Libraries
15. Web Technology
16. Introduction to Python web framework
17. Github
18. AWS – Cloud Computing
19. GCP – Google Cloud Computing
20. Software Testing & Automation
1. Introduction
1.1 What is Python?
Python is an interpreted, high-level, general-purpose programming language.
It is an open source programming language. It is easy to learn and
understand. The application development process using Python is much
faster and easier.
It was created by Guido Van Rossum during 1985-1990. Python first released
in 1991. Python was named for the BBC TV show Monty Python’s Flying
Circus. Latest version of Python is 3.11
1.2 Why Python?

i. It is easy to understand.
ii. Beginner’s language.
iii. Platform independet.
iv. Less line of code.
v. Simple to implement.
vi. Huge libraries support.
vii. GUI programming (Tkinter)
1.3 Python Compilers & Interpreters
1.4 Python Packages

i. Web Development – Django, Flask, Pyloons, Pyramid, Web2Py framework


ii. Artificial Intelligence – Scikit-learn, Keras, Tensorflow, Torch
iii. GUI - Tkinter
iv. Desktop Application – Jython, WxPython
v. Game Development – PyGame
vi. Testing – Spliter tool, pytest framework
vii. Bigdata – Pydoop, DASK, PySpark libraries
viii.Data Science – Numpy, Pandas, matplitLib, Seaborn
ix. AWS – boto
x. Robotic process – pyro
xi. Web Scrapping – BeautifulSoup4, urllib2, mechanize
xii. Devops & System Admin – os, sys, shutil, glob, subprocess, pathlib, fabric
xiii.Networking – twisted, socket, client and server
1.5 Who uses Python?

Web developers, data engineers, data scientist, system administrator, AI


developer, ML developers etc.
Python is widely used in software and hardware industry.

Some top companies, who uses Python:


Google, Youtube, Mozilla, Quora, Disney, Dropbox, BitTorrent, Intel, Cisco,
Hewlett-Packard, Seagate, Qualcomm, IBM, JP Morgan Chase, Getco,
Citadel, NASA, LJPL, iRobot, Netflix, Instagram, Facebook, Spotify,
Amazon, Flipkart and many more.
1.6 History of Python

Python was developed by Guido Van Rossum in the December 1989. It was
developed at National Research Institute for Mathematics and Computer
Science in the Netherlands.
Major version of Python:
i) Python 1.0 – January 1994
ii) Python 2.0 – October 2000
iii) Python 3.0 – December 2008
1.4 Features of Python

i. Easy to learn
ii. Easy to read
iii. Easy to maintain
iv. A broad standard library
v. Interactive mode
vi. Portable & scalable
vii. Extendable
viii.Database connectivity
ix. GUI programming
x. Python support functional and structured programming language as well as OOPS.
xi. It can be used as a scripting language or can be compiled as byte code for building large
application.
xii. It provide auto typecasting so there si no eed to define variable type.
xiii.It supports automatic garbage collection.
xiv.It can be easily integrated with other programming language.
1.4 Where Python can be used?

i. Web Devlopment
ii. Artificial Intelligence
a) Machine Learning (ML)
b) Deep Learning (DL)
c) Natural Language Processing (NLP)
d) Artificial Neural Network (ANN)
e) Robotics Programming
iii. Data Science
iv. Desktop Application
v. Website Development
vi. Business Application
1.4 Installing Python in Windows & Linux (Ubuntu)

Downlad latest version of python from www.python.org according to your


Operating System
Ubuntu OS:
In ubuntu, Python already available as standard version.
Check python version -
python -v
python3 -v
There are many ways to intall Python in Ubuntu -
sudo apt update
sudo apt install python3.6
How to print - “Python hello world”
print(‘Python hello world’)
2. Basic Python Syntax
2.1 Python comments:-
Two types of comments in Python
i) Single line comment - #
ii) Multiple line comments (Docstring) -
''' this single quote multi comments,
this comment example'''
&
""" this double quote multi comments,
this comment example"""
2.2 Keyword

Python has set of keywords, those are reserved words that can not be used as variable names, function name, or any other
identifier.
33 key words are in Python
and, as , assert, break, class, continue, def, del, elif, except, False, finally, for, from, global, if, import, in, is, lambda, None,
nonlocal, not, or, pass, raise, return, True, try, while, with, yield.
Identifiers: Identifier is the name given to entities like class, functions, variable etc.
Variable: variable stores value/data.
There is a rule in Python to define variable name.
i. A variable name must start with a letter or the underscore character.
ii. A variable name can not start with a number.
iii. A variable name can only contain (a-z, A-Z, 0-9 and _)
iv. A variable name is case sensitive.
v. A variable name can not have special character (!@#$%^&*)
For example:
Invalid variable – 1var, var@
Valid variable – var, var1, _var
Multiple assignment variables:
a=b=c=1
a, b, c = 1, 2, ’CODEbinny’
2.3 Datatype

A data type represent the type of data stored into a variable or memory.
Python has 5 standard datatypes.
i. Number
ii. String
iii. List
iv. Tuple
v. Dctionary
Built in datatypes in Python:
a) None
b) Numeric types: int, float, complex
c) Sequence: str, byte, bytearray, list, tuple, range
d) Sets – set, frozenset
e) Mapping – dict
Get the datatype of a variable:
var_type = type(variable_name)
print(var_type)
2.4 Naming Convention in Python
PEP8 (Python Enhancement Proposal)

There are 10 standard naming convention in Python.


i. General
Don’t use keyword names as variable
Don’t use library name as variable
ii. Packages
iii. Modules
iv. Classes
v. Global variables (module-level)
vi. Instance Variable
vii. Methods
viii.Method Argument
ix. Functions
x. Constants
2.4 Variable, print(), input(), type(), id() functions

Variable store valua/data


Rules for Python variable name:
i. A variable name must start with a letter or the underscore character.
ii. A variable name can not start with a number.
iii. A variable name can only contain – (a-z,A-Z,0-9,_)
iv. A variable name is case-sensitive
v. A variable name cant have special character
Some example of variable
var, var1, _var => valid variable
1var, var@ => invalid variable
print() => function prints message to the screen
type() => function return the type of variable
id() => function return memory location of variable
Type conversion/ type casting
In Python we can convert one datatype to different datatype
For example: string to integer
var = ‘56’ | print(type(var)) | print(type(int(var)))
MindCoder

th@nks
Tarique Ejaz

You might also like