Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Shannon -jj Behrens: Python: My Favorite Python Tricks for LeetCode Questions

Link: http://www.jjinux.com/2022/08/python-my-favorite-python-tricks-for.html

I've been spending a lot of time practicing on LeetCode recently, so I thought I'd share some of my favorite intermediate-level Python tricks. I'll also cover some newer features of Python you may not
Stack Abuse: The Python Magic Methods: __str__ vs __repr__

Link: https://stackabuse.com/the-python-magic-methods-str-vs-repr/

Introduction
Python, being a high-level, interpreted language, is known for its easy readability with great design principles. However, when you delve deeper into Python, some things may seem complex
Stack Abuse: Writing a Pandas DataFrame to a CSV File in Python

Link: https://stackabuse.com/writing-a-pandas-dataframe-to-a-csv-file-in-python/

Introduction
Working with data is a big part of any data analysis project. In Python, the Pandas library is a powerful tool that provides flexible and efficient data structures to make the process of
PyCharm: PyCharm 2023.2.1 Is Out!

Link: https://blog.jetbrains.com/pycharm/2023/08/2023-2-1/

PyCharm 2023.2.1, the first bug-fix update for PyCharm 2023.2, is now available!
You can update to v2023.2.1 by using the Toolbox App, installing it right from the IDE, or downloading it from our webs
Real Python: How to Iterate Through a Dictionary in Python

Link: https://realpython.com/iterate-through-dictionary-python/

Dictionaries are one of the most important and useful built-in data structures in Python. They’re everywhere and are a fundamental part of the language itself. In your code, you’ll use dictionaries to
death and gravity: reader 3.9 released

Link: https://death.andgravity.com/reader-3-9

Hi there!
I'm happy to announce version 3.9 of reader, a Python feed reader library.
What's new? #
Here are the highlights since reader 3.7.
Better handling of unexpected update errors #
Unexpected ex
Brian Okken: pytest Course - Ch3 pytest Fixtures is up

Link: https://pythontest.com/posts/2023/2023-pytest-course-ch3-fixtures/

Just a quick note that “Chapter 3, pytest Fixtures” is now available in the pytest course . Also, the 20% discount is active until the end of August.
Stack Abuse: Flush the Output of the print() Function in Python

Link: https://stackabuse.com/flush-the-output-of-the-print-function-in-python/

Introduction
In Python, the print function is a fundamental tool for outputting data to the console (and for many of us, our primary debugging tool). But, as you may have run into, sometimes the outpu
Stack Abuse: Reading from stdin in Python

Link: https://stackabuse.com/reading-from-stdin-in-python/

Introduction
In most programming languages, data can be read from various sources, like files, databases, or user input. However, one of the most common forms of input is the standard input, or stdin.
Stack Abuse: Appending Strings in Python

Link: https://stackabuse.com/appending-strings-in-python/

Introduction
In Python, strings are a sequence of characters and are one of the most used data types. There are lots of scenarios (taking user input, reading data from files, etc) where you'll need to
Real Python: Create a Python Wordle Clone With Rich

Link: https://realpython.com/courses/python-wordle-clone/

In this video course, you’ll build your own Wordle clone for the terminal. Since Josh Wardle launched Wordle in October 2021, millions of people have played it. While you can play the original game on
Stack Abuse: Hidden Features of Python

Link: https://stackabuse.com/hidden-features-of-python/

Introduction
Python is a powerful programming language that's easy to learn and fun to play with. But beyond the basics, there are plenty of hidden features and tricks that can help you write more eff
PyCoder’s Weekly: Issue #592 (Aug. 29, 2023)

Link: https://pycoders.com/issues/592

#592 – AUGUST 29, 2023 View in Browser » Asyncio, Twisted, Tornado, Gevent Walk Into a Bar… A good introduction to I/O bound concurrency in Python and the libraries used to achieve it. Has a nic
Python Software Foundation: The Python Software Foundation has been authorized by the CVE Program as a CVE Numbering Authority (CNA)

Link: https://pyfound.blogspot.com/2023/08/psf-authorized-as-cna.html

When a vulnerability is disclosed in software you're depending on, the last thing you want is for the remediation process to be confusing or ad-hoc. Towards the goal of a more secure and safe Python e
Glyph Lefkowitz: Get Your Mac Python From Python.org

Link: https://blog.glyph.im/2023/08/get-your-mac-python-from-python-dot-org.html

One of the most unfortunate things about learning Python is that there are so
many different ways to get it installed, and you need to choose one before you
even begin. The differences can also be sub
Talk Python to Me: #428: Django Trends in 2023

Link: https://talkpython.fm/episodes/show/428/django-trends-in-2023

Have you heard of Django? It's this little web framework that, well, kicked off much of Python's significance in the web space back in 2005. And that makes Django officially an adult. That's right, Dj
Python People: Naomi Ceder

Link: https://pythonpeople.fm/episodes/naomi-ceder

Naomi is an elected fellow of the PSF, and has served as chair of its board of directors. Topics:- Building replacement leadership for every endeavor you start- What the PSF board does- Keeping Python
Stack Abuse: Check if an Object has an Attribute in Python

Link: https://stackabuse.com/check-if-an-object-has-an-attribute-in-python/

Introduction
In Python, everything is an object, and each object has attributes. These attributes can be methods, variables, data types, etc. But how do we know what attribute an object has?
In this B