# Topic covered
Concurrency & Parallelism
Multithreading & Multiprocessing
Global Interpreter Lock (GIL)
[Read More]
07-Python Advance
Multi-threading in Python
7. Multi-threading
Multithreading allows you to break down an application into multiple sub-tasks and run these tasks simultaneously.
If you use multithreading properly, your application speed, performance, and rendering can all be improved.
Multithreading is defined as the ability of a processor to execute multiple threads concurrently.
06-Python Advance
First Class functions, Nested function, Closure function
First Class functions in Python
- In Python when
functions treated like any other variablethen they are term as First-class functions - Properties of first class functions:
- Assign to a variable.
- Pass the function as a parameter to another function.
- Return a function from another function.
02-Python Advance
Python collection module
Python collection module
- There are
4 basic collection data types- List, Tuples, Sets, Dictionary
Specialised collection data types- Counter, OrderedDict, UserDict, UserList, UserString
- defaultdict, deque, namedtuple(), Chainmap
01-Python intermediate
Python Datetime module
Python DateTime module
The datetime classes are categorize into 6 main classes β
- date
- Its attributes are
year,monthandday
- Its attributes are
- time
- Its attributes are
hour,minute,second,microsecondandtzinfo
- Its attributes are
05-Python intermediate
Deepcopy and shallow copy, Value equality vs identity
# Topic covered
* Deepcopy and Shallow copy
* Value equality vs identity
Deepcopy and Shallow copy
- In case of
shallow copy, a reference of object is copied in other object.- It means that any changes made to the copied object do reflect in the original object
External object id changes but Internal object id remains same
- In case of
deep copy, a copy of object is copied in other object.- It means that any changes made to the copied object do not reflect in the original object
External and internal object ids changes
03-Python intermediate
Exception Handling
# Topic covered
* Exception Handling
* Syntax Errors
* Runtime Errors
* Custom Exception
* List Of General Use Exceptions
* Pythonβs Exception Hierarchy
[Read More]
04-Python intermediate
Regular expression in Python
# Topic covered
* Regular expression
* Raw string
* String operation
* RegEx function
* Metacharacters
* Advance RegEx
[Read More]
02-Python intermediate
File Handling, File operation in Python
# 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
[Read More]
01-Python intermediate
OS Module and methods with Examples
# Topic covered
* Python OS Module
* Common OS functions
* OS Path
* Additional OS Fxn
[Read More]