String Interpolation in Python, PyCon US 2024 Sessions and more
Advanced Handling of Command-Line in Python with argparse Libary, Looking Under the Hood of Python's Set Data Structure with some more interesting news, articles, packages and projects
News
GeoPandas 1.0 released
You will find the Changelog here.
SciPy 1.14.0 released
Python 3.13.0 beta 3 released
This release, 3.13.0b3, is the third of four beta release previews of 3.13.
PSF Board Candidates for 2024 announced
Polars 1.0 released
Django 5.1 beta 1 released
Articles
String Interpolation in Python: Exploring Available Tools
Another great article by the Real Python team. I use f strings a lot. I know there are other options like format & Modulo Operator (%) for String Interpolation but I mostly didn’t use them. This article by Leodanis Pozo Ramos gave me more clarity and when to use them and I also got to know dictionary unpacking & lazy evaluation at the time of String Interpolation. I hope you will also learn something new from this article.
# Leodanis Pozo Ramos
Advanced Handling of Command-Line in Python with argparse Libary
Usually, command-line arguments we access through the “sys” in-built library but there is another great built-in library also available that is “argparse”. argparse has more functionalities compared to sys.argv. If you want to know what it is and how to use it, then you need to check this article by Ihor Lukianov.
# Ihor Lukianov
All Set! Looking Under the Hood of Python's Set Data Structure
If you want to understand how hash tables and the Set data structure are implemented in Python then you should check this article by Abhinav Upadhyay. He explained everything about the set implementation including the definition of the set object in CPython, Hash Collisions.
# Abhinav Upadhyay
PyCon US 2024 Sessions
All sessions on the Main Stage at PyCon US 2024 are now posted including Lightning talks, Keynote speakers intros, The Python Steering Council panel, Tutorials & Sponsor Presentations.
# PyCon US
Python Coding Tips: Lessons I Wish I Knew When I Started Coding
Python has many nuggets which will make our coding journey easy. In this article, Neelam Yadav shared 27 of them. Some you might already know but I think you might get to know at least one new thing. I got to know about defaultdict & namedtuple from this article.
# Neelam Yadav
Interesting Packages and Projects to explore
Hypothesis - a powerful, flexible, and easy-to-use library for property-based testing.
ITables - Pandas DataFrames as Interactive DataTables.
Gradio - Build and share delightful machine-learning apps, all in Python
PyPDFForm - 🔥 The Python library for PDF forms
nbgrader - A system for assigning and grading notebooks
About Upcoming Python Events
EuroPython 2024
Jul 8 – 14, 2024
SciPy US 2024
Jul 8 – 14, 2024
Python Practitioners' SIG
Jul 8, 2024
Django - The Powerhouse
Jul 8, 2024
Leipzig Python User Group Meeting
Jul 9, 2024
PyCon Nigeria 2024
Jul 10 – 13, 2024
PyData Eindhoven 2024
Jul 11, 2024
Python Atlanta Meetup
Jul 11, 2024