Planet Python RSS
217 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Basic Input and Output in Python

Link: https://realpython.com/python-input-output/

For a program to be useful, it often needs to communicate with the outside world. In Python, the input() function allows you to capture user input from the keyboard, while you can use the print() func
PyCoder’s Weekly: Issue #658 (Dec. 3, 2024)

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

#658 – DECEMBER 3, 2024 View in Browser » Django Performance: Scaling and Optimization Performance tuning in the context of Django applications is the practice of enhancing both the efficiency a
Kushal Das: Basedpyright and neovim

Link: https://kushaldas.in/posts/basedpyright-and-neovim.html



Basedpyright is a fork of pyright with
various type checking improvements, improved vscode support and pylance
features built into the language server. It has a list of benefits over Pyright.
In ca
Python Insider: Python 3.13.1, 3.12.8, 3.11.11, 3.10.16 and 3.9.21 are now available

Link: https://pythoninsider.blogspot.com/2024/12/python-3131-3128-31111-31016-and-3921.html

Another big release day! Python 3.13.1 and 3.12.8
were regularly scheduled releases, but they do contain a few security
fixes. That makes it a nice time to release the security-fix-only
versions to
Django Weblog: Help us make it happen ❤️

Link: https://www.djangoproject.com/weblog/2024/dec/04/help-us-make-it-happen/

And just like that, 2024 is almost over! If your finances allow, donate to the Django Software Foundation to support the long-term future of Django.
Ned Batchelder: Testing some tidbits

Link: https://nedbatchelder.com/blog/202412/testing_some_tidbits.html

I posted a Python tidbit about checking if a string
consists entirely of zeros and ones:I got a bunch of replies suggesting other ways. I wanted to post those, but I
also wanted to check if they were
Real Python: Expression vs Statement in Python: What's the Difference?

Link: https://realpython.com/python-expression-vs-statement/

After working with Python for a while, you’ll eventually come across two seemingly similar terms: expression and statement. When you browse the official documentation or dig through a Python-related t
Django Weblog: Django security releases issued: 5.1.4, 5.0.10, and 4.2.17

Link: https://www.djangoproject.com/weblog/2024/dec/04/security-releases/

In accordance with our security release policy, the Django team
is issuing releases for
Django 5.1.4,
Django 5.0.10, and
Django 4.2.17.
These releases address the security issues detailed below. We en
👍1
PyCharm: How to Do Sentiment Analysis With Large Language Models

Link: https://blog.jetbrains.com/pycharm/2024/12/how-to-do-sentiment-analysis-with-large-language-models/


Sentiment analysis is a powerful tool for understanding emotions in text. While there are many ways to approach sentiment analysis, including more traditional lexicon-based and machine learning appro
EuroPython Society: EPS Board 2024-2025

Link: https://www.europython-society.org/eps-board-2024-2025/

We’re happy to announce our new board for the 2024-2025 term: Anders Hammarquist Aris NivorilsArtur Czepiel (Chair) Cyril Bitterich Ege Akman Mia Bajić (Vice Chair) Shekhar Koirala You can read more a
Luke Plant: Check if a point is in a cylinder - geometry and code

Link: https://lukeplant.me.uk/blog/posts/check-if-a-point-is-in-a-cylinder-geometry-and-code/

In my current project I’m doing a fair amount of geometry, and one small problem I needed to solve a while back was finding whether a point is inside a cylinder.
The accepted answer for this on math.s
Real Python: The Real Python Podcast – Episode #231: Good Python Programming Practices When New to the Language

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

What advice would you give to someone moving from another language to Python? What good programming practices are inherent to the language? Christopher Trudeau is back on the show this week, bringing
Bojan Mihelac: Finding Blocks Across a Wagtail Site

Link: http://code.informatikamihelac.com/en/finding-blocks-across-a-wagtail-site/

Discover how to efficiently locate and update specific blocks across your Wagtail site, even when they're deeply nested.
PyCon: PyCon US 2025 Registration Launch!

Link: https://pycon.blogspot.com/2024/12/pycon-us-2025-registration-launch.html

The news you’ve been waiting for is finally here - registration for PyCon US 2025 is officially open!PyCon US will take place May 14 - May 22, 2025, in Pittsburgh, Pennsylvania at the David L. Lawrenc
Real Python: When to Use a List Comprehension in Python

Link: https://realpython.com/list-comprehension-python/

List comprehensions in Python provide a concise way to create lists by embedding a loop and optional conditional logic in a single line. You use a list comprehension to transform and filter elements f
Real Python: Python GUI Programming With Tkinter

Link: https://realpython.com/python-gui-tkinter/

Tkinter is Python’s standard GUI framework, making it convenient for developing graphical user interfaces. As a cross-platform library, Tkinter ensures your applications appear native across Windows,