Author: Rabecca Fatima
-
PythonFile Handling in Python
What is File Handling? Every web app requires the handling of files. File handling is critical when data must be stored permanently in a file. A file is a named location on the disc where related information is stored. After the program has terminated, we can access the stored information (non-volatile)….
December 25, 2022
-
PythonPython File Operations
Why are file operations required in Python?Working with files is a must when dealing with large datasets in machine learning…
December 29, 2022
-
PythonMultithreading In Python
Let’s look at Python threads first before presenting the idea of multithreading. Threads: Threads are quick processes (smaller versions of larger…
December 29, 2022
-
Pythonthreading Module In Python
Python threading, as we saw in the previous tutorial, allows us to run different parts of our program concurrently, which can…
December 30, 2022
-
PythonThread class and its Object
The Thread class in Python’s threading module is used to create and manage threads. We can extend this class to…
December 31, 2022
-
PythonLock Object in Python
What is a Lock Object? In Python, a threading.Lock object is used to synchronize the execution of threads. It can…
January 4, 2023
-
PythonRLock Object in Python
RLock (re-entrant lock) is a type of lock that allows the holder of the lock to acquire it multiple times…
January 5, 2023
-
PythonEvent Object in Python
What is an Event Object? An Event object in Python is a class that is used to signal the occurrence…
January 6, 2023
-
PythonTimer Objects in Python
Timer objects are used to schedule a function to be executed at a certain time in the future. The timer…
January 7, 2023
-
PythonCondition object in Python
A Condition object in Python is a synchronization object that allows multiple threads to wait for a specific condition to…
January 9, 2023
-
PythonBarrier Object in Python
Barrier object in Python is used to synchronize the execution of multiple threads. When a thread reaches a barrier point,…
January 11, 2023
-
PythonPython __name__ Variable
Because Python lacks a main() function, when the command to run a Python program is given to the interpreter, the…
January 11, 2023