daily_python's profile picture. Daily Python hints, help and learnings

PythonDaily

@daily_python

Daily Python hints, help and learnings

The „with“ statement allows you to shorten your logic by making acquisition and release of resources unnecessary geeksforgeeks.org/with-statement… #pythonDaily #python #programming #coding


Destruct and unpack Tuples, Lists and Hashes with Python to access them easily: blog.tecladocode.com/destructuring-…


RabbitMQ has a PriorityQueue class which allows you to prioritize specific items on your queue #pythonDaily #python #mqtt


Dealing with a messy OOP Codebase? Consider applying the Five „SOLID“ design principles. en.wikipedia.org/wiki/SOLID #pythonDaily #python #oop #programming


Python supports „sorted(<list>)“ function and a built-in list method „<list>.sort()“. Whereas the function returns a new list, the built-in method doesn’t. #pythonDaily #python


Speeding up your code by using python multithreading: concurrent.futures.ThreadPoolExecutor


You can use f-strings in python 3 to improve your string interpolation code. Example: „Hello {var}!“


United States 趨勢

Loading...

Something went wrong.


Something went wrong.