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-…
blog.teclado.com
Destructuring in Python
In this post we take a look at destructuring, also called "unpacking". We can use it to split a collection into single values, e.g. for multiple assignment.
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
Our HTTP library of choice is „Requests“ requests.kennethreitz.org #Python #httpClient #pythonDaily
You can use f-strings in python 3 to improve your string interpolation code. Example: „Hello {var}!“
United States Xu hướng
- 1. Christmas 120K posts
- 2. Game Day 9,757 posts
- 3. Big Noon Kickoff N/A
- 4. #SaturdayVibes 3,741 posts
- 5. Social Security 50.2K posts
- 6. Disney 92.7K posts
- 7. vmin 37.2K posts
- 8. ESPN 81K posts
- 9. Good Saturday 24.9K posts
- 10. Nigeria 492K posts
- 11. #Caturday 3,159 posts
- 12. Senior Day 1,835 posts
- 13. New Month 319K posts
- 14. #AllSaintsDay 1,498 posts
- 15. #River 5,561 posts
- 16. #saturdaymorning 1,685 posts
- 17. Texas -3 101K posts
- 18. Hulu 33.6K posts
- 19. Great Gatsby 8,356 posts
- 20. Chovy 14.8K posts
Something went wrong.
Something went wrong.