Listing comprehensions have a variety of depth. This text takes you past the fundamentals and explains nested comprehensions, a number of conditionals, exceptions, breaking the loop, and extra.
MARTIN HEINZ • Shared by Martin Heinz
Can Amazon’s CodeWhisperer Write Higher Python Than You?
Amazon’s CodeWhisperer is a machine-learning primarily based coding assistant which is at the moment in beta. Study its capabilities and limitations.
BRIAN TARBOX • Shared by Adam Buggia
Strive atoti, A Free Collaborative Python BI Analytics Platform
atoti is a BI analytics platform combining a python library and an internet utility serving to Quants, Knowledge Analyst, Knowledge Scientist and Enterprise Customers to collaborate, analyze and translate their information into enterprise KPIs →
Potential DoS Publicity in Massive
“A Denial Of Service (DoS) difficulty was recognized in CPython as a result of we use binary bignum’s for our
int implementation. An enormous integer will at all times eat a near-quadratic quantity of CPU time in conversion to or from a base 10 (decimal) string with a lot of digits. No environment friendly algorithm exists to do in any other case.”
PyPI Is Operating a Survey on the State of Python Packaging
PyPI is operating a survey on the state of packaging in Python. Fill within the survey and inform the world what you instructed them within the HN dialogue.
Articles & Tutorials
HTML and CSS for Python Builders
There’s no means round HTML and CSS once you need to construct internet apps. Even if you happen to’re not aiming to grow to be an internet developer, realizing the fundamentals of HTML and CSS will provide help to perceive the online higher. On this tutorial, you’ll get an introduction to HTML and CSS for Python programmers.
Recursion in Python With Al Sweigart
Have you ever needed to know recursion and how you can use it in Python? Are you accustomed to the decision stack and the way it pertains to tracebacks? This week on the present, Al Sweigart talks about his new e-book, “The Recursive Ebook of Recursion.”
Scout APM: A Python Efficiency Monitoring Software
Scout’s APM device pinpoints and prioritizes efficiency and stability points in Python functions. With Scout’s tracing logic, builders can detect the precise line of code inflicting the efficiency abnormality, and with detailed backtraces, you may repair the difficulty earlier than prospects ever discover →
Bluetooth Your Outdated Audio system With a Raspberry Pi
This text describes how you can take an outdated pair of PC audio system and make them usable with Bluetooth. Be taught in regards to the
PipeWire library, how you can configure your Raspberry Pi, and the quick Python script you could glue all of it collectively.
The Jupyter+git Downside Is Now Solved
Git and Jupyter simply don’t get alongside. Merge conflicts break issues, however not anymore. The
nbdev2 bundle offers instruments to permit merges in your Jupyter pocket book. This text explains the issue and the way it was addressed.
A lightweight introduction to the Python pickle protocol, the Pickle Machine, and establishing malicious pickles. Be taught why your code shouldn’t belief arbitrary serialized objects and the hazards of pickle-bombs.
Swift Was Poised to Substitute Python. Then It Tanked
Within the early days of Swift, its progress was matching that of Python, however then it leveled out. On this opinion piece, Ari discusses why he thinks Python continues to be going sturdy and why Swift is falling away.
CData Software program: The Best Approach to Join Python with Knowledge
Easy Python information entry to greater than 250 cloud functions, and information sources. Join, Combine, and Automate your information from Python, or some other utility or device.
Totally-Typed Decorators With Non-obligatory Arguments
Sort annotation for decorators is usually a bit more difficult than common capabilities, particularly in the event that they help optionally available key phrase arguments. Discover ways to kind them in order that they cross mypy’s strict mode.
LEMONFOLD.IO • Shared by Stefan Ulbrich
Constructing Command Line Interfaces With
On this step-by-step Python video course, you’ll discover ways to take your command line Python scripts to the following stage by including a handy command line interface which you could write with argparse.