Category Archives: Python

Python – Multithreading (introduction)

By | 12/04/2023

In this post, we will see how to use multithreading in Python, following the posts that I created for C#.How we know, multithreading is a programming technique that allows multiple threads of execution to run concurrently within a single process. Each thread can perform a different task or execute a different portion of code, and… Read More: Python – Multithreading (introduction) »

Python – Random values

By | 22/02/2023

In this post, we will see how to generate random values in Python. GENERATING INT NUMBERS GENERATING FLOAT NUMBERS USING SEED TO HAVE THE SAME RANDOM VALUES USING RANDOM TO GET ITEMS FROM A LIST SHUFFLING A LIST

Python – Logging

By | 23/11/2022

Logging is a very important part in the software development because, it can help us to find bugs in our code and it is very helpful in case of application crashing.To be honest, it is a common practice using, especially during the development, the command Print() in order to find bugs, instead to use Logging.But… Read More: Python – Logging »

Python – Eval

By | 04/08/2020

In this post, we will see what Eval() is and how we can use it. We start creating a function that returns true if a given inequality expression is correct and false otherwise. Examples: test_signs(“3 < 7 <11”) return Truetest_signs(“13 > 44 > 33 > 1”) return Falsetest_signs(“1 < 2 < 6 < 9 >… Read More: Python – Eval »