Python Programming Syllabus, Python Language Fundamentals, Python Programming Environment setup, and Python Object-Oriented Programming.
Python is a Programming language, so the primary purpose of Python is Software Development.
Python was created by Guido Van Rossum in 1989, but publicly released in 1991, It is further developed by the Python Software Foundation, and Python official website is (python.org).
Python is not named after the snake Python, The father of Python – Guido Van Rossum said the name of the language was taken from the British comedy series “Monty Python’s Flying Circus”.
Python is a general-purpose, high-level, interpreted, interactive, object-oriented, open-source programming language.
Python is a general-purpose language – It is a programming language designed to be used for writing software in the widest variety of application domains.
Python is a high-level language – It is a programming language designed to simplify computer programming, high-level source code contains easy-to-read syntax that is later converted into a low-level language, which can be recognized and run by a specific CPU.
Python is an interpreted language – An interpreted language is a type of programming language for which most of its implementations execute instructions directly and freely, without previously compiling a program into machine-language instructions.
Python is interactive – Python supports Interactive mode Programming, It provides us with a quick way of running blocks or a single line of Python code.
Python is object-oriented – It is an object-oriented programming language and it also supports functional programming. It allows us to develop applications using an Object-Oriented approach. In Python, we can easily create and use classes and objects.
Python is open source – Python is developed under an OSI-approved open source license, making it freely usable and distributable, even for commercial use. Python’s license is administered by the Python Software Foundation.
Python Programming Syllabus
Implementation of Python
Python has a number of alternative implementations are available:
CPython: The default implementation of the Python programming language is CPython. As the name suggests CPython is written in C language.
IronPython: (Python running on . NET)
Jython: (Python running on the Java Virtual Machine)
PyPy: (A fast Python implementation with a JIT compiler)
Stackless Python: (Branch of CPython supporting micro-threads)
MicroPython: (Python running on microcontrollers)
Anaconda Python: Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing.
Applications of Python/Uses of Python
Python is used to develop:
1. Desktop GUI (Graphical User Interface)
2. Web and Internet Development (IoT – Internet of Things)
3. Games and 3D Graphics
4. Scientific and Numeric Applications
5. Machine Learning and Artificial Intelligence
6. Data Science and Data Visualization
7. Enterprise Applications (Such as e-commerce, ERP, and many more.)
8. Network Programming
9. Embedded Applications
10. Audio and Video Applications
11. Learning/Education Applications
12. CAD (Computer-Aided Designing) Applications
13. Software Testing / Writing automated tests
14. Python for DevOps / System administration / Writing automation scripts.
Python Programming Syllabus
1. Introduction to Python Language
What is Python, Uses of Python Programming Language / Python Applications, Python for Software development, Python for Networking, Python for Automated Testing, Features of Python Programming Language, Implementations of Python, and Python career opportunities.
2. Download & Install Python
Download your operating system compatible Python Interpreter, install Python, set environment variable, customize Python shell, write & execute Python programs using Interactive mode and script mode. Python PyCharm or IDE, set Python for PyCharm IDE, configure PyCharm IDE, write & execute Python programs.
3. Python Language Syntax
Modes of Programming in Python, Interactive mode programming, Script mode programming, Creating Python program file, Python Identifiers, Python keywords, Lines and Indentation, Spilt Python statements, Join Python Statements, Writing code blocks, Comments in Python, and Quotation in Python.
4. Python Keywords and Identifiers
Python keywords or Reserved words, Python keywords define the syntax and structure of the Python language, Python keywords are case sensitive, Python literals (True, False, Null), Python Identifiers, class names, variable names, function names, method names, and Identifier naming rules.
5. Python Comments
Purpose/use of comments in Computer Programming, Comments for Understanding Python code, Python Comment Syntax, Python Single line comment, Multiline comment in Python, and writing Python comments.
6. Python Variables
What is Variable?, Declaration of Variables, Assign Values to Variables, Initialization, Reading, Variable naming restrictions, and Types of Python Variables.
7. Python Data Types
What is Data Type?, Implicit Declaration of Data Types, Python Numbers (Integers, floating-point numbers, and complex numbers), Python Strings, Python boolean data type.
8. Python Operators
Python Arithmetic, Comparison/Relational Operators, Increment Operators, Logical operators, Python Identity Operators, and Python Operators Precedence.
9. Python Control Flow – Decision Making
(Decision Making / Conditional Statements in Python, Simple If Structure, if-else structure, if elif structure, and nested If Structure. Execute a block of Statements when the condition is true, Execute a block of Statements when a compound condition is true, Execute a block of Statements when the condition is true otherwise execute another block of Statements, Decide among several alternates(elif), and Execute a block of Statements when more than one condition is true (Nested if))
10. Python Control Flow – Looping
((Python Control Flow Statements, Python Loop Statements. Python while loop, Python for loop, Python range(), Python Nested Loop Structures, and Inserting conditions in Loops and vice versa.))
11. Python Control Flow – Branching
(Python Flow Control – Branching Statements, A branching statement is a statement that determines whether other statements will be executed. Python Branching Statements – break, continue, pass)
12. Python Numbers
(Python Number data types are for storing numeric values, Python supports integers, floats, and complex numbers.)
13. Python Strings
(String is a sequence of characters written in single quotes or in double quotes or in three double-quotes. The string may have Alphabets, Numbers, and Special Characters. Operations on Strings, Finding String length, Concatenating Strings, Print a String multiple times, Check whether the String having all numeric characters?, and Check whether the String having all alphabetic characters?.)
14. Python Lists
((Python Data Structures, Create Python Lists, Update Python Lists, Delete Elements from Python Lists, and Built-in Functions & Built-in Methods for Python Lists.))
15. Python Tuples
(Tuples are sequences, just like lists. The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use parentheses, whereas lists use square brackets.)
16. Python Sets
(A Python set is a collection that is unordered and unindexed. In Python sets are written with curly brackets.)
17. Python Dictionaries
(A dictionary is a collection that is unordered, changeable, and indexed. In Python dictionaries are written with curly brackets, and they have keys and values.)
18. Python Arrays
(Array is a container that can hold a fixed number of items and these items should be of the same type. Python does not have built-in support for Arrays, but Python Lists can be used instead.)
19. Python user-defined Functions
(In all programming and scripting languages, a function is a block of program statements that can be used repetitively in a program. It saves the time of a developer. In Python concept of function is the same as in other languages. There are some built-in functions that are part of Python. Besides that, we can defines functions according to our need.)
20.Python Built-in Functions
(Python has several functions that are readily available for use. These functions are called built-in functions.)
21. Python – Modules
A module allows you to logically organize your Python code. Simply, a module is a file consisting of Python code. A module can define functions, classes, and variables. A module can also include runnable code.
22. Python User Input
Python user input from the keyboard can be read using the input() built-in function. The input from the user is read as a string and can be assigned to a variable.
23. Python File Handling
Python too supports file handling and allows users to handle files i.e., to read and write files, along with many other file handling options, to operate on files.
24.Python Exceptions Handling
Python provides us with the way to handle the Exception so that the other part of the code can be executed without any disruption. However, if we do not handle the exception, the interpreter doesn’t execute all the code that exists after that.
Python OOPs Concepts
Python Programming Syllabus
25. Python Classes and Objects
(Classes provide a means of bundling data and functionality together. Creating a new class creates a new type of object, allowing new instances of that type to be made. Objects are an encapsulation of variables and functions into a single entity. Objects get their variables and functions from classes. Classes are essentially a template to create your objects.)
26. Python Methods
(A Python method is a label that you can call on an object; it is a piece of code to execute on that object. Methods are simply another kind of function that reside in classes. You create and work with methods in Python in precisely the same way that you do functions, except that methods are always associated with a class. You can create two kinds of methods: those associated with the class itself and those associated with an instance of a class.)
27. Python Constructors
(A constructor is a special type of method (function) that is used to initialize the instance members of the class. Two types of Constructors in Python, Parameterized Constructor, Non-parameterized Constructor, Constructor definition is executed when we create the object of this class.)
28. Python Inheritance
(Inheritance enables us to define a class that takes all the functionality from a parent class and allows us to add more. Inheritance is a powerful feature in object-oriented programming, Types Inheritance in Python, Single Inheritance, Multi-Level Inheritance, Multiple Inheritance, Hierarchical Inheritance, and Hybrid Inheritance.)
29. Python Polymorphism
(Python Object Oriented Programming – Polymorphism, What is Polymorphism?, Types of Polymorphism in Python, Compile Time Polymorphism (Method OverLoading), Run Time Polymorphism (Method Overriding), Polymorphism with class methods, and Polymorphism with Inheritance)
30. Python Abstraction
(What is Abstraction?, hiding the implementation details and only showing the essential features of the object, Abstraction in Python is achieved by using abstract classes and interfaces.)
31. Python Encapsulation
(Encapsulation is one of the fundamental concepts in object-oriented programming (OOP). It describes the idea of wrapping data and the methods that work on data within one unit. Python is an interpreted programming language and implements weak encapsulation. )
Python Programming Syllabus
32. Regular Expressions
(A RegEx, or Regular Expression, is a sequence of characters that forms a search pattern. Python has a built-in package called re, which can be used to work with Regular Expressions. The re module offers a set of functions that allows us to search a string for a match. RegEx Functions, Metacharacters, and Special Sequences.)
33. Database Access
(For database programming, Python supports many database servers- MySQL, Oracle, PostgreSQL, SQLite, Sybase, Microsoft SQL Server, mSQL, Microsoft Access, and many more. It also supports Data Query Statements, Data Definition Language (DDL), and Data Manipulation Language (DML). The standard database interface for Python is Python DB-API.)
34. Python Multithreading
(What is a Thread in Computer Science?, What is multithreading in Computer Science?, Advantages of Multithreading, Disadvantages of Multithreading, and Python Multithreading Modules.)
35. Python Networking Programming
(Python plays an essential role in network programming. The standard library of Python has full support for network protocols, encoding, and decoding of data and other networking concepts. What Are Sockets?, )
36. Python CGI (Common Gateway Interface) Programming
(CGI is a set of standards that defines a standard way of passing information or web-user requests to an application program and getting data back to forward it to users. It is the exchange of information between the web server and a custom script.)
37. Python GUI Programming
(GUI Programming in Python, Python has a huge number of GUI frameworks (or toolkits) available for it, from TkInter (traditionally bundled with Python, using Tk) to a number of other cross-platform solutions, as well as bindings to platform-specific (also known as “native”) technologies.)
Python Step by Step Tutorial, Download & Install Python, Python Development Environment Setup, Python Basic Syntax, Python Data Types, Python Variables, Python Numbers, Python Strings, Python Arrays, Python Lists, Python Tuples, Python Sets, and Python Control Flow. Python Control Flow – decision-making statements, loop statements, and branching statements.
Python Functions (built-in and user-defined), Python IO (Input and Output Operations), File handling in Python, Python Database connectivity, Python regular expressions, and exception handling in python.
Python Object Oriented Programming, Classes, Objects, Methods, Constructors, Inheritance, Polymorphism, Abstraction, interfaces, and Encapsulation.
Python Programming Syllabus