Planet Python RSS
216 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Refactoring: Prepare Your Code to Get Help

Link: https://realpython.com/courses/refactoring-code-to-get-help/

At some point in your Python journey, you’ll look to other programmers for help with a sticking point in your code. When that day comes, it’s important to make sure that you’re asking a clear question
PyCoder’s Weekly: Issue #550 (Nov. 8, 2022)

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

#550 – NOVEMBER 8, 2022 View in Browser » Where Exactly Does Python 3.11 Get Its Speedup? This deep dive into Python 3.11’s speed-up walks you through nine different optimizations that contribut
IslandT: The finance calculator project in Python

Link: https://islandtropicaman.com/wp/2022/11/09/the-finance-calculator-project-in-python/

I would like to introduce to you all my latest project plan which is to build a finance calculator to calculate various financier-related issues which include my previous solution to find the present
PyBites: Tips for clean code in Python

Link: https://pybit.es/articles/tips-for-clean-code-in-python/

In this article I will give you 10 tips for cleaner code. Hope this helps improve your Python code.
1. Smaller units.
Break long functions (methods) into multiple smaller ones that do one thing (SRP
Python for Beginners: Append Dictionary to Dataframe in Python

Link: https://www.pythonforbeginners.com/basics/append-dictionary-to-dataframe-in-python

We use a python dictionary to store key-value pairs. Similarly, Dataframes are used to store records containing values associated with a key in the tabular format. In this article, we will discuss how
Real Python: Getters and Setters: Manage Attributes in Python

Link: https://realpython.com/python-getter-setter/

If you come from a language like Java or C++, then you’re probably used to writing getter and setter methods for every attribute in your classes. These methods allow you to access and mutate private a
Python Bytes: #309 When Malware PoC's are Themselves Malware

Link: https://pythonbytes.fm/episodes/show/309/when-malware-pocs-are-themselves-malware

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

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

<p><strong>About the show</strong></p>
Talk Python to Me: #389: 18 awesome asyncio packages in Python

Link: https://talkpython.fm/episodes/show/389/18-awesome-asyncio-packages-in-python

If you're a fan of Python's async and await keywords and the powers they unlock, then this episode is for you. We have Timo Furrer here to share a whole bunch of asyncio related Python packages. Timo
PyBites: Finding new and removed Python 3.11 modules in 8 lines of code

Link: https://pybit.es/articles/finding-new-and-removed-python-3-11-modules-in-8-lines-of-code/

In our TIL Slack channel AJ shared a cool new find:

Today I learned about sys.stdlib_module_names: a frozenset of strings containing the names of standard library modules. …
AJ on the Pybites Slack –
Nicola Iarocci: Eve 2.0.4 released

Link: https://nicolaiarocci.com/eve-2.0.4-released/

I just released Eve 2.0.4, the REST API framework for #python. It’s available on PyPI and includes a relevant security fix so you might want to update ASAP.
Package info Docs Subscribe to the newsle
Real Python: The Real Python Podcast – Episode #132: Creating Tic-Tac-Toe With an AI Player & Shortcuts for Python Decorators

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

How do you create a computer opponent for a simple game within Python? Would you also like to learn how to adapt the game to run in a web browser or graphical user interface (GUI)? This week on the sh
Python for Beginners: Sort Pandas DataFrame in Python

Link: https://www.pythonforbeginners.com/basics/sort-pandas-dataframe-in-python

Pandas dataframes are used to handle tabular data in Python. Many times, we need to sort the dataframe based on a column. In this article, we will discuss different ways to sort a pandas dataframe in
Sebastian Witowski: Upgrade Your Python Version

Link: https://switowski.com/blog/upgrade-your-python-version/

Here is an idea for a completely free[1] speed improvement for your code - upgrade your Python version!
I started this series of articles using Python 3.8, but today we already have version 3.11. Pyth
Sebastian Witowski: How to Benchmark (Python) Code

Link: https://switowski.com/blog/how-to-benchmark-python-code/

While preparing to write the "Writing Faster Python" series, the first problem I faced was "How do I benchmark a piece of code in an objective, yet uncomplicated way".
I could run python -m timeit <pi
scikit-learn: Pandas DataFrame Output for sklearn Transformers

Link: https://blog.scikit-learn.org/technical/pandas-dataframe-output-for-sklearn-transformer/














Author:
Sangam SwadiK


Video
Upcoming feature in release 1.2
Starting with the next release of scikit-learn (v1.2), pandas dataframe output will be available for al
The Python Coding Blog: Using Positional Arguments and Named or Keyword Arguments in Python Functions [Intermediate Python Functions Series #2]

Link: https://thepythoncodingbook.com/2022/11/11/positional-arguments-and-keyword-arguments-in-python/

In the first article in this Intermediate Python Functions Series, you made sure you got your terminology right. So you know what an argument is. But what are positional arguments and keyword argument
IslandT: ProCal Homepage

Link: https://islandtropicaman.com/wp/2022/11/13/procal-homepage/

This application which is used to calculate various financial problems is free to use on GitHub and you can download the code through this link. You can use the executable file to start the applicatio
Python Software Foundation: Announcing Python Software Foundation Fellow Members for Q3 2022! 🎉

Link: https://pyfound.blogspot.com/2022/10/announcing-python-software-foundation.html

The PSF is pleased to announce its third batch of PSF Fellows for 2022! Let us welcome the new PSF Fellows for Q3! The following people continue to do amazing things for the Python community:Anwesha D