Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Morsels: Creating Python programs

Link: https://www.pythonmorsels.com/creating-python-programs/

Python programs are created in code editors, and can be run using system command prompt.



Table of contents

The Python REPL
Definitions: program, script, command-line, editor
Creating a Python prog
Django Weblog: Djangonaut Space - New session 2024

Link: https://www.djangoproject.com/weblog/2024/sep/06/djangonaut-space-new-session-2024/

We are thrilled to announce that Djangonaut Space, a mentorship program, is open for applicants for our next cohort!
Djangonaut Space is holding a third session this year! This session will start on O
Matt Layman: Kamal On A Droplet - Building SaaS #201

Link: https://www.mattlayman.com/blog/2024/kamal-on-a-droplet-building-saas-201/

In this episode, we continued working with the Kamal deploy tool. Last time, we build a demo image. With this session, we created a Digital Ocean Droplet (i.e., VM) and deployed to that. Along the jou
TechBeamers Python: Pass by Reference vs Pass by Value in Python

Link: https://techbeamers.com/python-pass-by-reference-vs-pass-by-value/

Is Python pass by reference or pass by value? This question intrigues every Python programmer coming from a C or Java background. In this tutorial, you will get its answer and learn the meaning of “pa
Python Insider: Python 3.13.0RC2, 3.12.6, 3.11.10, 3.10.15, 3.9.20, and 3.8.20 are now available!

Link: https://pythoninsider.blogspot.com/2024/09/python-3130rc2-3126-31110-31015-3920.html

Hi there!
A big joint release today. Mostly security fixes but we also have the final release candidate of 3.13 so let’s start with that!
Python 3.13.0RC2
Final opportunity to test and find any show-s
Test and Code: 222: Import within a Python package

Link: https://testandcode.com/episodes/222-import-within-a-python-package

In this episode we're talking about importing part of a package into another part of the same package.We'll look at: `from . import module` and `from .module import something`and also:  `import packag
Python Morsels: Commenting in Python

Link: https://www.pythonmorsels.com/commenting-in-python/

Python's comments start with an octothorpe character.



Table of contents

Writing a comment in Python
Inline comments in Python
Best practices for commenting in Python
Comment as needed, but not too
Zato Blog: Service-oriented API task scheduling

Link: https://zato.io/en/blog/python-scheduler.html


Service-oriented API task scheduling


2024-09-09, by Dariusz Suchojad



An integral part of
Zato, its scalable, service-oriented scheduler makes it is possible to execute high-level API integrati
Armin Ronacher: Multiversion Python Thoughts

Link: http://lucumr.pocoo.org/2024/9/9/multiversion-python

Now that uv is rapidly advancing I have
started to dive back into making multi-version imports for Python work.
The goal here is to enable multiple resolutions from the solver in uv so
that two incomp
Mike Driscoll: Adding Terminal Effects with Python

Link: https://www.blog.pythonlibrary.org/2024/09/09/adding-terminal-effects-with-python/

The Python programming language has thousands of wonderful third-party packages available on the Python Package Index. One of those packages is TerminalTextEffects (TTE), a terminal visual effects eng
👍1
PyCharm: How to Use Jupyter Notebooks in PyCharm Professional

Link: https://blog.jetbrains.com/pycharm/2024/09/how-to-use-jupyter-notebooks-in-pycharm/


PyCharm is one of the most well-known data science tools, offering excellent out-of-the-box support for Python, SQL, and other languages. PyCharm also provides integrations for Databricks, Hugging Fa
Real Python: Python News Roundup: September 2024

Link: https://realpython.com/python-news-september-2024/

As the autumn leaves start to fall, signaling the transition to cooler weather, the Python community has warmed up to a series of noteworthy developments. Last month, a new maintenance release of Pyth
Hynek Schlawack: Production-ready Python Docker Containers with uv

Link: https://hynek.me/articles/docker-uv/

Starting with 0.3.0, Astral’s uv brought many great features, including support for cross-platform lock files uv.lock. Together with subsequent fixes, it has become Python’s finest workflow tool for m
Python Bytes: #400 Celebrating episode 400

Link: https://pythonbytes.fm/episodes/show/400/celebrating-episode-400

<strong>Topics covered in this episode:</strong><br>

<ul>
<li><strong>Python 3.13.0RC2, 3.12.6, 3.11.10, 3.10.15, 3.9.20, and 3.8.20 are now available!</strong></li>
<li><strong><a href="https://mke
Python Anywhere: Issues after system maintenance on 2024-09-05

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

tl;dr
On Thursday 5 September 2024 we performed some system maintenance. It appeared
to have gone well, and was completed at the scheduled time (06:20 UTC), but
unfortunately there were unexpected kn
Python Circle: Removing PDF pages using Python and PyPDF2

Link: https://pythoncircle.com/post/787/removing-pdf-pages-using-python-and-pypdf2/

Python code to remove pages from PDF files. How to delete pages from PDF files. Trim a PDF file. Pull a few pages from the PDF file and make a new one. Reduce PDF file size.
Real Python: When to Use .__repr__() vs .__str__() in Python

Link: https://realpython.com/courses/repr-vs-str/

One of the most common tasks that a computer program performs is to display data. The program often displays this information to the program’s user. However, a program also needs to show information t
Quansight Labs Blog: Announcing Scientific Python Accessibility Events

Link: https://labs.quansight.org/blog/announcing-scientific-python-accessibility-events

I am happy to announce two upcoming public events focused on helping the scientific Python ecosystem develop their accessibility skills before the new year.
PyCoder’s Weekly: Issue #646 (Sept. 10, 2024)

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

#646 – SEPTEMBER 10, 2024 View in Browser » Using Pydantic to Simplify Python Data Validation Discover the power of Pydantic, Python’s most popular data parsing, validation, and serialization li
ListenData: How to Integrate Gemini API with Python

Link: https://www.listendata.com/2024/05/how-to-use-gemini-in-python.html


In this tutorial, you will learn how to use Google's Gemini AI model through its API in Python.
Steps to Access Gemini API
Follow the steps below to access the Gemini API and then use it in python.