Learn basics of python programming language
What you will learn
Learn programming with Python
Learn important data structures in python programming
Learn about modularization – function, modules and packages
Object oriented programming with Python
Description
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
English
language
Content
Introduction
Introduction to python
Installing python
Running python program
Course structure
Basic programming constructs
Variables and datatypes
Operators
Input and output (I/O)
Summary
Check your understanding
Programming constructs : Control flow
Conditions
Loops
Control flow
Nested conditions and loops
Summary
Review
Data structures: Lists and Tuples
Lists
Working with Lists
Tuples
Summary
Review
String Manipulation
Strings
String operations
Common string methods
String formatting
Demo: String Formatting
Summary
Review
Data structures: Sets and Dictionaries
Sets
Demo: Sets
Dictionaries
Demo: Dictionaries
Review
Modular programming: Functions
Functions – parameters and return values
Demo: functions
Scope of variables
Demo: Scope
Summary
Review
File handling
Read/Write files
Modes and Exception handling
Read/Write a text file
Handling Exception
Demo: Dealing with files
Summary
Review
Modular programming: Modules and Packages
Modules and Packages
Importing modules
Create and use ‘Package’
Demo: Modules and Packages
Summary
Review
Object Oriented Programming
Classes and Objects
Inheritance
Polymorphism
Method overriding
Summary
Review