
Explore Python, a high level programming language known for simplicity and readability, created by Guido van Rossum and widely used in web development, data analysis, and artificial intelligence.
Run Python programs using an integrated development environment or text editor, save files with a .py extension, and run them with the run button, using PyCharm and Visual Studio Code.
Explore Python fundamentals including variables, data types, control flow, functions and modules, file handling, exception handling, and object oriented programming.
Explore how Python operators perform operations on variables and values across arithmetic, assignment, comparison, and logical types. See a practical example of using arithmetic operators to illustrate their application.
Learn basic input and output in Python using the input and print functions to interact with users, and format outputs with backquote formatting and f-strings for clearer display.
Learn the basics of Python variables and data types, perform operations with arithmetic and logical operators, and handle input and output using input, print, and f-strings for formatted results.
Explore conditional statements, loops, and control flow in Python to make decisions and manage program execution. Learn how if, elif, and else evaluate conditions to control code blocks.
Explore control flow in Python by learning how break exits loops, continue skips remaining iterations, and pass serves as a placeholder for future code.
Explore the basics of conditional statements, loops in Python, and control flow to write efficient, flexible programs that make decisions, repeat code, and modify execution.
Access and modify Python lists using indexing, including zero-based and negative indexing, noting that lists are mutable. Learn list operations like append, insert, remove, concatenation, repetition, and slicing.
Explore tuples in python: immutable containers created with parentheses, similar to lists, that hold elements of different data types and cannot be changed after definition.
Explore the basics of strings and string manipulation in Python, including string methods and formatting, and learn that strings are immutable sequences of characters enclosed in single or double quotes.
Learn Python string operations: concatenate with the plus operator, index characters using zero-based square brackets, and slice substrings with start and end indices (end exclusive).
Explore common Python string methods to manipulate text, including len, lower, upper, strip, split, and replace, to measure length, normalize case, trim whitespace, split into a list, and substitute characters.
Master Python strings by applying concatenation, indexing, slicing, methods, and formatting to manipulate text data.
Learn how to create sets in Python with curly braces or the set function, manage unordered, unique elements, and perform union, intersection, and difference with methods or operators.
Explore how to use Python sets to compute unions by applying the union method (and operator) to two sample sets, with an accompanying code snippet.
Learn how to define functions in Python using def, pass values with parameters, and call functions with parentheses. Use return to send values back to the caller.
Explore a Python function demo that adds two numbers. Define add_numbers with num1 and num2, use the plus operator, return the result, and call it with any two numbers.
Understand Python scope: local variables exist inside a function and are destroyed after it ends; global variables are accessible anywhere and can be modified with the global keyword.
Demonstrates using a global variable initialized to zero inside a function and shows how an increment function updates the count across multiple calls.
Explore how functions organize code, enable modular design, and return values in Python. Learn to define functions with parameters, manage scope, and use global variables.
Practice file handling in Python by reading and writing data with open, read, and write methods. Understand using read and write modes to manage file contents.
Explore file modes and exceptions in Python by opening files for reading, writing with w, or appending with a, and using try/except blocks to gracefully handle errors and prevent crashes.
Discover how to read a text file in Python using open in read mode, read methods for full content, single lines, or all lines; write, overwrite, or append to files.
Handle file operation exceptions using a try-except block to catch errors like file not found. Display meaningful error messages to users and take appropriate action.
Learn to read and write files in Python, handle modes and exceptions, and work with text and CSV formats to manipulate data and build applications.
Explore how modules and packages organize and reuse Python code, create .py modules, and group related modules into packages marked by __init__.py for effective imports.
Demonstrate importing a Python module and calling its functions, such as math_operations.add_numbers, and show creating a package named my_package with module_one, importing it as my_package.module_one, and using its functions.
Explore object oriented programming in Python by defining classes as blueprints with properties and methods, instantiate objects via the class, and access properties with dot notation.
Learn how to build a child class from a parent in Python, using inheritance to inherit properties and methods. Override the parent's methods and add new ones for specialized behavior.
Explore polymorphism in Python, where objects from different classes can act like objects of the same class through method overriding and method overloading.
Master object oriented programming in Python by using classes and objects to create reusable, maintainable code. Discover how inheritance and polymorphism boost flexibility and customization for building complex, scalable applications.
Learn the core programming concepts such as variables, data types, flow of control, functions, modules, packages and OOPS in python.
Course Structure
Introduction:
Introduction to Python
Installing Python
Running Python Programs
Course Structure (Variables, Control Flow, Functions, File handling, OOPS)
Basic constructs: Variables & Datatypes:
Variables and datatypes
Operators
Basic Input / Output
Basic constructs: Control Flow:
Conditions
Loops
Control flow
Nested Conditions and Loops
Lists and Tuples:
Lists
Accessing / Modifying Lists
Demo: Accessing / Modifying Lists
Tuples
Demo: Tuples
String Manipulation:
Strings
Operations - Concatenation, Indexing, Slicing, Search, other methods
Common methods: len, lower, upper, strip, split, replace
String Formatting
Demo: String formatting
Sets and Dictionaries:
Accessing / Modifying Dictionaries
Demo: Dictionaries
Accessing / Modifying Sets
Demo: Sets
Functions:
Parameters and Return values
Demo: Function with numbers
Variable scopes - local, global
Demo: scopes
File Handling:
Read/Write files
Modes and Exceptions
Read/Write text file
Handling exceptions
Demo: File handling
Modules and Packages:
Modules and Packages
Importing modules
Create / use packages
Demo: modules & packages
Object-Oriented Programming:
Classes and Objects
Inheritance
Polymorphism
Method overriding
What you will learn?
Learn fundamentals of python programming language.
Learn important data structures in python programming.
Learn about modularization - function, modules and packages.
Acquire the pre-requisite python skills to move into specific branches - Machine Learning, Data Science, etc.
Requirements
Basics knowledge of Internet and Computers
Windows / Linux / Mac OS X Machine with Internet
Content team
Expert: Dhayanidhi Chinnaraj, Arunkumar Krishnan
Production: Vishnu Sakthivel, Visshwa Balasubramanian