Planet Python RSS
212 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Paolo Amoroso: An Intel 8080 Assembly Suite in Python

Link: http://blog.paoloamoroso.com/2021/11/an-intel-8080-assembly-suite-in-python.html

A blog post I stumbled upon made me start a new project, crank out lots of Python code, slip down a rabbit hole of arcane and fascinating corners of retrocomputing, and overflow with fun.The project i
Paolo Amoroso: Publishing Python Documentation to Read The Docs With Jupyter Books

Link: http://blog.paoloamoroso.com/2022/01/publishing-python-documentation-to-read.html

I published the documentation of Suite8080, a suite of Intel 8080 Assembly cross-development tools I’m writing in Python with Replit.The Suite8080 documentation website built with Jupyter Book and Sph
PyCharm: PyCharm 2022.1 EAP 2: Basic Authorization for Custom Package Repositories, Updated QA Tools, and More

Link: https://blog.jetbrains.com/pycharm/2022/02/2022-1-eap-2/

PyCharm 2022.1 EAP 2 is now out! This time around, we added a nice code insight enhancement for TypedDict, the ability to manage Python packages from custom repositories under authorization, several n
PyCon: On holding an in-person PyCon US 2022

Link: https://pycon.blogspot.com/2022/02/on-holding-in-person-pycon-us-2022.html

As we're ramping up preparations for an in-person PyCon US 2022 in Salt Lake City, the PyCon US organization wants to take a moment to talk about the decisions we made, the precautions we are taking,
Real Python: Providing Multiple Constructors in Your Python Classes

Link: https://realpython.com/python-multiple-constructors/

Sometimes you need to write a Python class that provides multiple ways to construct objects. In other words, you want a class that implements multiple constructors. This kind of class comes in handy w
Python Morsels: Dunder Variables

Link: https://www.pythonmorsels.com/topics/dunder-variables/

Have you ever seen a variable in Python that has two underscores on either side of it (__like_this__)?
These are officially referred to as special attributes or special methods, but many Python progra
Python Software Foundation: We are hiring contract developers to build new features in PyPI

Link: http://pyfound.blogspot.com/2022/02/we-are-hiring-contract-developers-to.html

The Python Software Foundation has funding available for designing, developing and deploying organization accounts in PyPI.PyPI is the official repository of Python packages. PyPI allows users to sear
Wingware: Wing Python IDE Version 8.2 - February 16, 2022

Link: https://wingware.com/news/2022-02-16

Wing 8.2 adds additional support for branching, stashing/shelving, and other operations
for Git and Mercurial, improves Extract Function/Method refactoring, fixes display
of some data types in the Sou
Python Bytes: #271 CPython: Async Task Groups in Python 3.11

Link: https://pythonbytes.fm/episodes/show/271/cpython-async-task-groups-in-python-3.11

<p><strong>Watch the live stream:</strong></p>

<a href='https://www.youtube.com/watch?v=VyUOZFCAku0' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>
Daniel Nouri: Build a nice CLI for your Streamlit apps with Click or Typer

Link: https://danielnouri.org/notes/2022/02/17/build-a-nice-cli-for-your-streamlit-apps-with-click-or-typer





If you're like me, you enjoy creating small apps, demos, and doing
exploratory data science work with Streamlit.
Here's a minimal Streamlit app that displays the contents of an Excel
file in the b
Jaime Buelta: Futures and easy parallelisation

Link: https://wrongsideofmemphis.com/2022/02/17/futures-and-easy-parallelisation/

Here is one small snippet that it’s very useful when dealing with quick scripts that perform slow tasks and can benefit from running in parallel. Enter the Futures Futures are a convenient abstraction
Python for Beginners: Convert String to Datetime in Python

Link: https://www.pythonforbeginners.com/basics/convert-string-to-datetime-in-python

We normally keep dates in our text files or spreadsheets in the form of strings. While working with date and time in python, we often need to calculate the number of days spent or time spent between t
Thomas Guest: Binary search gets a sort key

Link: http://wordaligned.org/articles/binary-search-gets-a-sort-key

Suppose you have an list of distinct elements which has been sorted
and rotated. How would you look up an element within that list?
For example, the list:
[7, 11, 13, 19, 2, 3, 5]

is sorted (the firs
Abhijeet Pal: We finally switched from WordPress to Django

Link: http://djangocentral.com/switched-from-wordpress-to-django/

With great pleasure, I will like to announce that djangocentral is now powered by Django, and I couldn't be more satisfied with the results. I was intending to do this switch for a very long time, but
Real Python: Python's zipfile: Manipulate Your ZIP Files Efficiently

Link: https://realpython.com/python-zipfile/

Python’s zipfile is a standard library module intended to manipulate ZIP files. This file format is a widely adopted industry standard when it comes to archiving and compressing digital data. You can
Daniel Roy Greenfeld: More Married

Link: https://daniel.feldroy.com/posts/2022-02-more-married

Audrey and I met in early 2010 and within days were in love. We were married in late 2013. This program calculates how much more we've been married than not married.
For example:

At some point in Nov
Real Python: The Real Python Podcast – Episode #98: Drawing Fractals With Python and Working With a Weather API

Link: https://realpython.com/podcasts/rpp/98/

Have you been wanting to explore fractals and complex numbers in Python? Would you like to practice working with APIs in Python through a new project? This week on the show, Christopher Trudeau is her
Python Anywhere: Accessing the files API using our new CLI tool

Link: https://blog.pythonanywhere.com/202/

The new release of the pythonanywhere helper scripts package introduces
new commands covering our files API.
Ned Batchelder: Why your mock still doesn’t work

Link: https://nedbatchelder.com/blog/202202/why_your_mock_still_doesnt_work.html

In Why your mock doesn’t work, I explained that you have
to mock objects where they are used, not where they are defined. There are
other reasons your mock may be mysteriously failing to capture acti