Lessons about Python (page 8)
The links, tools and tips our engineers and designers share with each other, one “today I learned” at a time.
- lessons shared
- 353
- people sharing
- 27
- database started in
- 2016








- Link offlineLink offline
Tech Insights· rednafi.github.io
The Curious Case of Python’s Context Manager
Shared by
The original link on rednafi.github.io is no longer available.
Look for it on the Wayback Machine- Python

snarky.ca
Unravelling
notin Python:For this next blog post in my series of Python's syntactic sugar [https://snarky.ca/tag/syntactic-sugar/], I'm tackling what would seem to be a very simple bit of syntax, but which actually requires diving into multiple layers to fully implement: not. On the surface, the definition
Rebeca Sarai

Tech Insights· snarky.ca
Unravelling
notin Python:From snarky.ca
For this next blog post in my series of Python's syntactic sugar [https://snarky.ca/tag/syntactic-sugar/], I'm tackling what would seem to be a very simple bit of syntax, but which actually requires diving into multiple layers to fully implement: not. On the surface, the definition
Shared by
Read on snarky.ca- Python


Tech Insights· tenacity.readthedocs.io
Best Python retrying library:
Shared by
Read on tenacity.readthedocs.io- Decorator
- Python
- Retry

adamj.eu
Common Issues Using Celery (And Other Task Queues)
Here are some issues I’ve seen crop up several times in Django projects using Celery. They probably apply with other task queues, I simply haven’t used them so much.
Filipe Ximenes

Tech Insights· adamj.eu
Common Issues Using Celery (And Other Task Queues)
From adamj.eu
Here are some issues I’ve seen crop up several times in Django projects using Celery. They probably apply with other task queues, I simply haven’t used them so much.
Shared by
Read on adamj.eu- Celery
- Concurrency
- Django
- Python
- Queue


Tech Insights· stackoverflow.com
Detecting slow tests with pytest
Shared by
Read on stackoverflow.com- Pytest
- Python

pabloinsente.github.io
Introduction to Linear Algebra for Applied Machine Learning with Python:
Flavio Juvenal

Tech Insights· pabloinsente.github.io
Introduction to Linear Algebra for Applied Machine Learning with Python:
Shared by
Read on pabloinsente.github.io- Linear Algebra
- Machine Learning
- Python


Tech Insights· hakibenita.com
How “Export to Excel” Almost Killed Our System
Shared by
Read on hakibenita.com- Django
- Excel
- Python

nedbatchelder.com
Ordered dict surprises:
Since Python 3.6, regular dictionaries retain their insertion order: when you iterate over a dict, you get the items in the same order they were added to the dict. Before 3.6, dicts were unordered: the iteration order was seemingly random.
Rebeca Sarai

Tech Insights· nedbatchelder.com
Ordered dict surprises:
From nedbatchelder.com
Since Python 3.6, regular dictionaries retain their insertion order: when you iterate over a dict, you get the items in the same order they were added to the dict. Before 3.6, dicts were unordered: the iteration order was seemingly random.
Shared by
Read on nedbatchelder.com- Python


Tech Insights· blog.ram.rachum.com
Improving Python exception chaining with raise-
Shared by
Read on blog.ram.rachum.com- Exception
- Python
Tech Insights· stackoverflow.com
Understanding time.perf_counter() and time.process_time():
Shared by
Read on stackoverflow.com- Performance
- Profiling
- Python
Tech Insights
If you need to typecast an object into a type that is a keyword in a pdb session, such as
list, you can use C-like conventions such as(list)(obj_to_typecast)Shared by
- Ipdb
- Pdb
- Python
- Typecast
Tech Insights· stackoverflow.com
Python 3.7 changed how
StopIterationworks:Shared by
Read on stackoverflow.com- Generators
- Python

blog.miguelgrinberg.com
Sync vs. Async Python: What is the Difference?
Have you heard people say that async Python code is faster than "normal" (or sync) Python code? How can that be? In this article I'm going to try to explain what async is and how it differs from…
Gustavo Carvalho

Tech Insights· blog.miguelgrinberg.com
Sync vs. Async Python: What is the Difference?
From blog.miguelgrinberg.com
Have you heard people say that async Python code is faster than "normal" (or sync) Python code? How can that be? In this article I'm going to try to explain what async is and how it differs from…
Shared by
Read on blog.miguelgrinberg.com- Async
- Python
Book a call
Found it useful?
Let’s put it to work.
Tell us about your product and the problem in front of you. We’ll bring what we’ve learned on real projects.
Tell us about your product, and we’ll bring what we’ve learned.
Still prefer the good old email? Contact us



