
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Discover Python: an interpreter, high-level dynamic language with procedural, object-oriented, and functional paradigms and core design principles like beautiful is better than ugly and explicit is better than implicit.
Explore Python’s features, including dynamic typing, cross-platform portability, and open source extensible standard library, plus support for procedural and object-oriented programming, unit testing, data analytics, machine learning, and web development.
Download and verify Python 3.9.5 for Windows from python.org, checking the checksum. Install with default or custom options, then verify with the command prompt and python shell.
Explore how Python declares variables by assigning values, observe dynamic typing in action, and learn about types, memory addresses, and declaration syntax.
Explore enclosing and built-in scopes in Python, studying global and local variables, nested functions, and how inner variables affect or do not affect outer ones through nonlocal scope.
Explore the nonlocal keyword in Python 3, learn how inner functions access and modify variables in outer scopes, and why binding errors occur in nested function contexts.
Explore Python numeric types, including integers, floats, and complex numbers, and booleans, with decimal, binary, octal, and hexadecimal representations, plus type checking and base conversions.
Explore identity operators in Python, learning how 'is' and 'is not' compare objects by memory location rather than value, and contrast them with value-based comparison and other operator families.
Explore how to index elements in a Python tuple, access items with positive and negative indices, and iterate using range and len on a sample omeprazole tuple.
Learn how to change elements in a tuple by converting it to a list, modifying, and converting back, while noting that tuples are immutable but lists inside can be changed.
Explore unpacking tuple elements into variables in Python, using exact-variable assignments or an asterisk to capture remaining values, with examples and common error handling.
Learn how Python sets store multiple unique values, are unordered and unindexed, and cannot hold lists or dictionaries; create sets with curly braces and perform union, intersection, and difference.
Explore disjoint sets, subsets, and supersets with Python set operations, and verify disjointness, subset, and superset relationships through practical examples.
Learn how to access dictionary elements in Python using key index, the get method, and views for keys, values, and items, including nested dictionaries and presence checks.
Update dictionary elements in Python using key index assignment, the update method, and merging with another dictionary; learn how keys, values, and items control additions and updates.
Explore dictionary built-in functions in Python, including all, any, len, and sorted, with examples of evaluating non-empty and empty dictionaries. Learn how these functions reveal keys, lengths, and sorted orders.
Learn how fromkeys creates a dictionary with given keys and a default value, and how setdefault adds missing keys with defaults or leaves existing values unchanged.
Learn how to validate key existence with in and not in, and iterate through dictionary keys to access and print their values using a sample courses dictionary.
We have created this course with detailed explanation of every concept.
Currently we are publishing the content which is already prepared as part 1 of this course and will cover more topics of Python Programming Language.
This course covers theory and practical with examples for every conceptual topic of Python.
Following sections are covered in detail:
Python Introduction - Core principals of Python, features of Python, Python popularity, industrial domains & career growth with Python
Python Installation - Installation of Python on Windows, Linux Ubuntu(v16.04), Linux Ubuntu(v18.04)
Comments in Python - Single line & multi-line comments in Python, docstring in Python
Python Variables - Variables in Python, Python variable scopes, enclosing & built-in scopes, nonlocal keyword, delete variable, number & Boolean datatype in Python
Python Operators - Operator groups in Python, Arithmetic operator, Assignment operator, Comparison operator, Logical operator, Bitwise operator, Identity operator, Membership operator
Python Datatypes
Python Datatype Tuple - Creation of Tuple, Tuple elements index, index() method, append, change & delete of Tuple elements, slicing of elements, concatenation and unpacking of elements in Tuple, coding exercises on Tuple
Python Datatype Set - Creation of Set, accessing, add & remove of elements in Set, Mathematical operations like Union Join, Intersection, Difference, Symmetric Difference on Set, disjoint set, superset, subset methods, coding exercises on Sets
Python Datatype Dictionary - Creation of Dictionary, add, access, update, remove elements in Dictionary, shallow copy and deep copy of Dictionary, nested Dictionary, Dictionary built-in functions, Dictionary comprehension, coding exercises on Dictionary
Practice programs
Practical labs
Coding exercises
In future (near time) we will cover the other important topics of Python with this course. Following topics will be covered:
Flow control & loops in Python
Concepts of Object Oriented Programming (OOPs)
File handling, exception handling and modules in Python programming language