01-Python intermediate
OS Module and methods with Examples
# Topic covered
* Python OS Module
* Common OS functions
* OS Path
* Additional OS Fxn
# Topic covered
* Python OS Module
* Common OS functions
* OS Path
* Additional OS Fxn
# Topic covered
* File Handling
* Various properties of File Object
* Allowed Modes
* Open and close file
* The with statement
* seek() and tell() methods
* Writing data into files
* Reading Data from files
* Buffer Read and Write file
* Zipping and Unzipping Files
# Topic covered
* Exception Handling
* Syntax Errors
* Runtime Errors
* Custom Exception
* List Of General Use Exceptions
* Pythonβs Exception Hierarchy
# Topic covered
* Regular expression
* Raw string
* String operation
* RegEx function
* Metacharacters
* Advance RegEx
# Topic covered
* Deepcopy and Shallow copy
* Value equality vs identity
shallow copy, a reference of object is copied in other object.
External object id changes but Internal object id remains samedeep copy, a copy of object is copied in other object.
External and internal object ids changesPEP 484 that allow for adding type hints to variables.inform someone reading the code what the type of a variable should be.
- Annotate Argument
- Annotate Return type
- Annotate Variable