Monday, June 23, 2025
HomePythonPyCoder’s Weekly: Difficulty #584 (July 4, 2023)

PyCoder’s Weekly: Difficulty #584 (July 4, 2023)


#584 – JULY 4, 2023
View in Browser »

The PyCoder’s Weekly Logo


Why Are Membership Checks So Quick for vary() in Python?

In Python, vary() is mostly utilized in for loops. Nonetheless, ranges have another use instances too, as they share many properties with lists. On this tutorial, you’ll discover why it’s so quick to carry out a membership take a look at on a Python vary.
REAL PYTHON

What’s the Deal With CPython, Pypy, MicroPython, Jython…?

This complete article introduces you to all of the alternative ways you possibly can Python. CPython isn’t the one alternative, be taught what else is on the market and why you would possibly select another.
BITE CODE

Firms like GitLab, Snowflake, and Slack Scan Their Code for Vulnerabilities Utilizing Semgrep

alt

Scan your code and dependencies for safety vulnerabilities without cost with Semgrep – the trusted OSS software utilized by high corporations like GitLab, Snowflake, and Slack. No safety experience wanted, merely add your venture and let Semgrep do the work in simply minutes →
SEMGREP sponsor

I Am the First PSF Safety Developer-in-Residence

Seth was not too long ago employed as the primary Safety Developer-In-Residence on the PSF. His weblog publish talks about what his obligations are and the way he defines success for the place.
SETH LARSON

Discussions

Python Jobs

Software program Engineer (Dallas or Los Angeles) (Los Angeles, CA, USA)

Causeway Capital Administration LLC

Extra Python Jobs >>>

Articles & Tutorials

The right way to Flatten a Record of Lists in Python

On this tutorial, you’ll discover ways to flatten an inventory of lists in Python. You’ll use totally different instruments and methods to perform this job. First, you’ll use a loop together with the .lengthen() technique of listing. Then you definately’ll discover different instruments, together with scale back(), sum(), itertools.chain(), and extra.
REAL PYTHON

Jinja Templating

With Jinja, you possibly can construct wealthy templates that energy the entrance finish of your net functions. However you should use Jinja and not using a net framework working within the background. Anytime you wish to create textual content recordsdata with programmatic content material, Jinja may help you out.
REAL PYTHON course

DataWars: Apply Information Science with Actual Life Tasks

alt

DataWars’s platform contains +100 of Information Science initiatives to follow Pandas, Scikit-Study, SQL and way more, in an interactive, prepared to make use of atmosphere. Create an account without cost and begin your problem →
DATAWARS sponsor

Estimating Wagtail Web sites’ Emissions

This text describes quantifying the carbon footprint of internet sites constructed with Wagtail, the Python CMS, primarily based on a dataset of 4,000 web sites. Wagtail is potential enhancements that may very well be rolled out to numerous initiatives.
WAGTAIL.ORG • Shared by Thibaud Colas

CLI Instruments Hidden within the Python Customary Library

There are a number of modules in Python which might be straight callable from the command line, together with the flexibility to gzip and fairly print JSON. This text introduces you to what’s accessible and the way Simon found them.
SIMON WILLISON

When NumPy Is Too Gradual

Typically simply switching to NumPy simply isn’t sufficient of a pace increase, what then? Earlier than you ponder parallelism, there are different approaches. This articles reveals you different methods of enhancing efficiency.
ITAMAR TURNER-TRAURING

Deprecation of bdist_egg Uploads to PyPI

PEP 715 has been accepted and as of August 1, 2023, the .egg format will not be accepted as an add. Present eggs on PyPI will stay in place.
PYPI.ORG

ML System Design: 200 Case Research

A set of hyperlinks to 200 totally different weblog posts / case research from leaders within the ML house. Find out how corporations corresponding to Netflix and Airbnb implement and use ML of their organizations.
EVIDENTLY AI

High 10 Python Code Vulnerabilities to Know

Dive into Snyk’s High 10 Python Code Vulnerabilities cheat sheet to achieve a complete understanding of every vulnerability kind present in first-party Python code, together with its impression, potential dangers, and assault vectors.
SNYK.IO sponsor

Automating Deployment Utilizing the Kubernetes SDK

Learn to use the Python Kubernetes SDK to automate software deployments, together with creating Kubernetes sources like deployments, companies, secrets and techniques, config maps, and ingress.
FAIZAN BASHIR • Shared by Faizan Bashir

Counting Occurrences in Python With collections.Counter

Python’s collections.Counter objects are useful for counting occurrences of iterable objects. They’re particularly useful when paired with generator expressions.
TREY HUNNER • Shared by Trey Hunner

Tasks & Code

Occasions

SciPy 2023

July 10 to July 17, 2023
SCIPY.ORG


Pleased Pythoning!
This was PyCoder’s Weekly Difficulty #584.
View in Browser »

alt


[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments