Core Python
I : Python Basics
- Why Python?
- History of python
- Applications of Python
- Features of Python
- Uses of Python
- Versions of Python
- Installation of Python
- Flavors of Python
- Comparision b/w various programming languages C, Java and Python
- Python Editors and IDEs
- Executing a Python Script
- Python Data Types
- Python Variables
- Comments in python
- Output Print(),function
- Input() Function
- Type Conversion
- Type(),Id() Functions
- Command Line Arguments
II: Operators in python
- Arithmetic Operators
- Relational Operators
- Logical Operators
- Assignment Operators
- Short Hand Assignment Operators
- Bitwise Operators
- Membership Operators
- Identity Operators
III. Control statements
- Block/clause
- Indentation in Python
- Conditional Statements
- -if statement
- - if…else statement
- - if…elif…statement
- Looping Statements
- -while loop,
- -while … else,
- Infinite while
- Nested loops
- -for loop,
- -range() in for loop
- Break statement
- Continue statement
- Pass statement
IV. Strings in Python
- Creating Strings
- String indexing
- String slicing
- String Concatenation
- String Comparision
- String splitting and joining
- Finding Sub Strings
- String Case Change
- String methods
V. Collections
- Introduction
- Lists
- Tuples
- Sets
- Dictionaries
- Operations on collections
- Functions for collections
- Methods of collection
- Nested collections
- Iterations through collections
- Reading data into a dictionary
- Differences b/w list tuple and set and Dictionary
VI. Functions
- Defining a function
- Calling a function
- Function Parameters
- Argument types
- -default arguments
- -nondefault arguments
- -keyword arguments
- -non keyword arguments
- -arbitrary arguments
- Variable Length Arguments
- Returning Values
- Variables scope
- Call by value
- Call by reference
- Passing collections to function
- Local and Global variables
- Recursive Functions
- Boolean Functions
- Passing functions to function
- Anonymous or Lamda function
- Filter() and map() functions
VII. Modules in Python
- What is a module?
- Different types of module
- Creating user defined module
- Setting path
- The import statement
- Module search path
- Normal Import
- From … Import
- Module Aliases
- Dir function
- Working with Standard modules -Math, Random, Date time and os modules
VIII. Packages
- Introduction to packages
- Defining packages
- Importing from packages
- Defining sub packages
- Importing from sub-packages
IX.Errors and Exception Handling
- Types of errors
- Compile-Time Errors
- Run-Time Errors
- What is Exception?
- Need of Exception handling
- Predefined Exceptions
- Try,Except, finally blocks
- Handling Multiple Exceptions
- User defined Exceptions
- Raise statement
X. File Handling
- Introduction
- Types of Files in Python
- Opening a file
- Closing a file
- Writing data to files
- Tell( ) and seek( ) methods
- Reading a data from files
- Various functions