Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Mike Driscoll: Creating an Animated GIF with Python

Link: https://www.blog.pythonlibrary.org/2021/06/23/creating-an-animated-gif-with-python/

Animated GIFs are an image type that contains multiple images with slight differences. These are then played back kind of like a cartoon is. You could even think of it as a flip-book with a stick man
Python for Beginners: Nested List Comprehensions in Python

Link: https://www.pythonforbeginners.com/lists/nested-list-comprehensions-in-python


One way Python attracts programmers is by encouraging elegant, easy-to-read code. It does this through a variety of features, including list comprehension.
Writing more efficient code helps programme
Real Python: CPython Internals: Paperback Now Available!

Link: https://realpython.com/cpython-internals-paperback/

After almost two years of writing, reviewing, and testing, we’re delighted to announce that CPython Internals: Your Guide to the Python 3 Interpreter is now available in paperback!
Are there certain p
Quansight Labs Blog: Working with pytest on PyTorch

Link: https://labs.quansight.org/blog/2021/06/pytest-pytorch/


Prerequisites




To run the code in this post yourself, make sure you have torch, ipytest>0.9, and the plugin to be introduced pytest-pytorch installed.






pip install torch 'ipytest>0.9' pytest-
Python Bytes: #239 No module named pythonbytes

Link: https://pythonbytes.fm/episodes/show/239/no-module-named-pythonbytes

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

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

<p><strong>About the show</strong></p>
Daniel Roy Greenfeld: What's the Ultimate Reason for Working at Octopus Energy?

Link: https://daniel.feldroy.com/posts/whats-the-ultimate-reason-for-working-at-octopus-energy-part-2

On November 16, 2020, I started my first day of employment at Octopus Energy. A few days ago I discussed reasons why I enjoy my work and colleagues. In this article, I explain the ultimate reason I wo
PyCharm: PyCharm 2021.2 EAP 2: Python Packages Installation From Custom Locations

Link: http://feedproxy.google.com/~r/Pycharm/~3/n92qam3nrmo/

The second EAP of PyCharm 2021.2 brings a lot of improvements, both platform-wide and Python-specific. Take a look at what we have new in store for Python 3.10 support, easy package installation, work
Python for Beginners: Decimal Module in Python

Link: https://www.pythonforbeginners.com/basics/decimal-module-in-python


Python has numeric data types like int, float and complex numbers but due to the machine dependent nature of floating point numbers, we need a more precise data type for calculations which demand hig
Stack Abuse: Styling PyQt6 Applications - Default and Custom QSS Stylesheets

Link: https://stackabuse.com/styling-pyqt6-applications-default-and-custom-qss-stylesheets

Introduction
In this guide, we'll take a look at how to style a PyQt application.

If you're unfamiliar with PyQt, read our Guide to Working with Python's PyQT Framework

We'll start with PyQt's defau
Mike Driscoll: Python 101: Exception Handling (Video)

Link: https://www.blog.pythonlibrary.org/2021/06/25/exception_handling_video/

In this video tutorial, you will learn how exception handling works in Python.
Specifically, you will learn the following:

Common exceptions
Handling exceptions
Raising exceptions
Examining exception
Real Python: The Real Python Podcast – Episode #66: Practicing Python With CSV Files and Extracting Values With "filter()"

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

Are you ready to practice your Python skills some more? There is a new set of practice problems prepared for you to tackle, and this time they're based on working with CSV files. This week on the show
Mike Driscoll: Mouse vs Python has a Slack Channel

Link: https://www.blog.pythonlibrary.org/2021/06/25/mouse-vs-python-has-a-slack-channel/

This website now has a Slack channel. It’s free to join. No subscription required!
If you’d like to join, use the following link which is good for the next 30 days:
https://join.slack.com/t/mousevspyt
Talk Python to Me: #322: A path into data science

Link: https://talkpython.fm/episodes/show/322/a-path-into-data-science

Are you interested in getting ahead in data science? On this episode, you'll meet Sanyam Bhutani who studied computer science but found his education didn't prepare him for getting a data science-focu
Weekly Python StackOverflow Report: (cclxxxi) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/06/cclxxxi-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-06-26 15:09:30 GMTList containing only every second second pair of
Simple is Better Than Complex: How to Start a Production-Ready Django Project

Link: https://simpleisbetterthancomplex.com/tutorial/2021/06/27/how-to-start-a-production-ready-django-project.html

In this tutorial I’m going to show you how I usually start and organize a new Django project nowadays. I’ve tried many
different configurations and ways to organize the project, but for the past 4 yea
Mike Driscoll: PyDev of the Week: Benjy Weinberger

Link: https://www.blog.pythonlibrary.org/2021/06/28/pydev-of-the-week-benjy-weinberger/

This week we welcome Benjy Weinberger (@benjy) as our PyDev of the Week! Benjy works on the Pants build system. He is also the co-founder of Toolchain.
You can catch up with Benjy over on GitHub. Let’