Description
In this course, you will :
- Students can improve their knowledge of Python fundamentals and exception handling.
Syllabus :
1. Introduction To Python ( OPTIONAL )
- What is Python and Father of Python
- Easyness of Python when compared with Other Languages
- Why the name 'Python'
- Python as All Rounder
- Where we can use Python
- Features of Python
- Features of Python Summary
- Limitations and Flavors of Python
- Python Versions
2. Python Installation & Various Ways to Run Python Program ( OPTIONAL )
- Python Installation
- How to Write and Run python code on IDLE
- How to Write and Run python code by using NotePad
- Install Editplus and Run first Python Program
3. Python Language Fundamentals ( OPTIONAL )
- Python Identifiers
- Python Reserved Words
- Data Types Introduction
- Data Types: int data type
- Data Types: Base Conversion Functions
- Data Types: float data type
- Data Types: complex data type
- Data Types: bool data type
- str data type representations by using single,double and triple quot
- str data type - positive and negative index
- Data Types: str data type - Slice Operator
- Data Types: str data type - Slice Operator Applications
- Data Types: + and * operators for str data type
- Type Casting: introduction and int() function
- Type Casting: float() and complex() functions
- Type Casting: bool() and str() functions
- Type Casting: Summary
- Meaning Of Immutability
- Need Of Immutability
- Immutability vs Mutability
- Python Data Types: List data type
- Python Data Types: Tuple data type
- Python Data Types: Set data type
- Python Data Types: FrozenSet
- Python Data Types: Dict
- Python Data Types: range
- Python Data Types: bytes and bytearray
- Python Data Types Summary
- None Data Type
- Escape Characters,Comments and Constants
4. Input and Output Statements ( OPTIONAL )
- Agenda & Difference between raw_input() and input() functions
- Reading Multiple Values from the keyboard in a single line
- eval() function
- Command Line Arguments
- Important Conclusions about Command Line Arguments
- Output Statements : print() function and sep attribute
- Output Statements : end attribute
- print(object) and with replacement operator
- print() with formatted string
5. Python Exception Handling
- Syntax Error vs Runtime Error
- The 3 Most Important Questions about Exception Handling
- Default Exception Handling and Exception Hierarchy
- Customized Exception Handling by using try-except
- Control flow in try-except
- How to print Exception Information to the console?
- try with multiple except blocks?
- Single except block that can handle multiple different exceptions
- Default Except Block & Various except block syntaxes
- finally block purpose and Specialty
- finally block vs os._exit(0)
- Important Interview Question: difference between finally block and destructor
- Control Flow in try-except-finally
- Nested try-except-finally theory and demo program
- Control Flow in Nested try-except-finally
- else block with try-except-finally theory
- else block with try-except-finally demo programs
- Various possible combinations of try-except-else-finally
- Types of Exceptions-Predefined and User Defined
- How to define and raise Customized Exceptions & Demo Program