Python Programming- IIT Roorkee
Python Programming- IIT Roorkee
(Basic + Advanced)
Python is a programming language that lets you work more quickly and integrate your systems
more effectively. You can learn to use Python and see almost immediate gains in productivity
and lower maintenance costs.
Python is a remarkably powerful dynamic programming language that is used in a wide variety
of application domains. Python is often compared to Tcl, Perl, Ruby, Scheme or Java.
Introduction to Python
● History of Python
● Features of Python
● Versions of Python
● Applications of Python
● Scripting vs Programming Language
● Interactive Mode vs Script Mode
● Installing Python
● Writing First Python Program
● Executing First Python Program using Interactive Mode
● Executing First Python Program using Script Mode
Python Basic
● Introduction
● Keywords
● Identifiers
● Comments
● Data Type
● Variables
● print(),type(),id() functions
● Operators
● Receiving input from keyboard
● Working with input() function
● Type conversion functions
Python Operators
● Assignment Operators
● Arithmetic Operators
● Short-hand Operator
● Relational Operators
● Logical Operators
● Bitwise Operators
● Identity Operators
● Membership Operators
● if Statement
● if - else Statement
● elif Statement
● Nested Decision Making Statement
Looping Statements
● For Loop
● While Loop
● else with loop
● pass, break and continue
● Nested Loops
Functions
● Defining a Function
● Calling a Function
● Types of Functions
● Formal and actual Arguments
● Named and keyword arguments
● Default and Positional Arguments
● *args and **kwargs Arguments
● Lambda function
● Local and Global Variables
● Need of modules
● Creating a module and Importing Module
● Different ways of importing
● Working with Built-in Modules like math,sys,os,datetime,random.
● Creating a Package and Using a package
Strings
● Creating Strings
● Strings Immutability
● String Indexing and Slicing
● String Formatting
● String Functions and String Operators
● String Joining and Splitting
List
Tuples
● Creating Tuple
● Tuple indexing, slicing and functions
● Tuple operators and Methods
● Nested Tuples
● Converting String and List to Tuple
● Converting Tuple to String and List
Set
● Creating a Set
● Normal and frozen Set
● Creating and modify Empty Set
● Add, removing and discarding elements to Set
● Converting String, List and Tuple to Set
● Converting Set into String, List and Tuple
Exception Handling
File Handling
Database
● Introduction to Databases
● Creating Database Connections
● Inserting, Fetching, Updating and Deleting data
● Transactions(Commit and Rollback)
● Handling Errors
GUI Programming
Thank You!