Planet Python RSS
217 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCharm: Prompt AI Directly in the Editor

Link: https://blog.jetbrains.com/pycharm/2024/10/prompt-ai-directly-in-the-editor/

With PyCharm, you now have the support of AI Assistant at your fingertips. You can interact with it right where you do most of your work – in the editor. 
Stuck with an error in your code? Need to add
Python Software Foundation: Python 3.13 and the Latest Trends: A Developer's Guide to 2025 - Live Stream Event

Link: https://pyfound.blogspot.com/2024/10/python-313-and-latest-trends-developers.html

Join Tania Allard, PSF Board Member, and Łukasz Langa, CPython Developer-in-Residence, for ‘Python 3.13 and the Latest Trends: A Developer’s Guide to 2025’, a live stream event hosted by Paul Everitt
Real Python: Quiz: A Guide to Modern Python String Formatting Tools

Link: https://realpython.com/quizzes/python-formatted-output/

Test your understanding of Python’s tools for string formatting, including f-strings and the .format() method.
Take this quiz after reading our A Guide to Modern Python String Formatting Tools tutoria
Kushal Das: Thank you Gnome Nautilus scripts

Link: https://kushaldas.in/posts/thank-you-gnome-nautilus-scripts.html


As I upload photos to various services, I generally resize them as required
based on portrait or landscape mode. I used to do that for all the photos in a
directory and then pick which ones to use. B
Real Python: A Guide to Modern Python String Formatting Tools

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

When working with strings in Python, you may need to interpolate values into your string and format these values to create new strings dynamically. In modern Python, you have f-strings and the .format
scikit-learn

Link: https://blog.scikit-learn.org/2024-09-02-survey-announcement/

We are excited to announce the launch of the scikit-learn user survey! Scikit-learn
continues to evolve thanks to contributions from its diverse user community. As we
plan for future releases, we wan
Real Python: Quiz: When to Use a List Comprehension in Python

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

In this quiz, you’ll test your understanding of
List Comprehension in Python.
By working through this quiz, you’ll revisit how to rewrite loops as list comprehensions,
how to choose when to use list c
Trey Hunner: Switching from virtualenvwrapper to direnv, Starship, and uv

Link: https://treyhunner.com/2024/10/switching-from-virtualenvwrapper-to-direnv-starship-and-uv/

Earlier this week I considered whether I should finally switch away from virtualenvwrapper to using local .venv managed by direnv.
I’ve never seriously used direnv, but I’ve been hearing Jeff and Hyne
Real Python: Quiz: Python import: Advanced Techniques and Tips

Link: https://realpython.com/quizzes/python-import/

In this quiz, you’ll test your understanding of
Python’s import statement and related topics.
By working through this quiz, you’ll revisit how to use modules in your scripts and import modules dynamic
Python Engineering at Microsoft: Python in Visual Studio Code – October 2024 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-october-2024-release/

We’re excited to announce the October 2024 release of the Python and Jupyter extensions for Visual Studio Code!
This release includes the following announcements:

Run Python tests with coverage
Defau
Julien Tayon: PySimpleGUI : surviving the rug pull of licence part I

Link: http://beauty-of-imagination.blogspot.com/2024/09/pysimplegui-surviving-rug-pull-of.html

I liked pySimpleGUI, because as a coder that likes tkinter (the Tk/Tcl bindings) and as a former tcl/tk coder I enoyed the syntaxic sugar that was avoiding all the boiler plates required to build the
Julien Tayon: Simpler than PySimpleGUI and python tkinter: talking directly to tcl/tk

Link: http://beauty-of-imagination.blogspot.com/2024/10/simpler-than-pysimplegui-and-python.html

Well, the PySimpleGUI pull rug of licence reminded me how much dependencies are not a good thing.

Even though FreeSimpleGUI is a good approach to simpler tk/tcl binding in python : we can do better,
Chris Rose: uv, direnv, and simple .envrc files

Link: https://offby1.website/posts/uv-direnv-and-simple-envrc-files.html

I have adopted uv for a lot of Python development. I'm also a heavy user of direnv, which I like as a tool for setting up project-specific environments.
Much like Hynek describes, I've found uv sync
Real Python: Quiz: Iterators and Iterables in Python: Run Efficient Iterations

Link: https://realpython.com/quizzes/python-iterators-iterables/

In this quiz, you’ll test your understanding of
Python’s Iterators and Iterables.
By working through this quiz, you’ll revisit how to create and work with iterators and iterables, understand the diffe
Julien Tayon: Bidirectionnal python/tk by talking to tk interpreter back and forth

Link: http://beauty-of-imagination.blogspot.com/2024/10/bidirectionnal-pythontk-by-talking-to.html

Last time I exposed an old way learned in physical labs to do C or python/tk like in the old days: by summoning a tcl/tk interpreter and piping commands to it.
But what fun is it?
It's funnier if the
Talk Python to Me: #479: Designing Effective Load Tests for Your Python App

Link: https://talkpython.fm/episodes/show/479/designing-effective-load-tests-for-your-python-app

You're about to launch your new app or API, or even just a big refactor of your current project. Will it stand up and deliver when you put it into production or when that big promotion goes live? Or w
Mariatta: Python Core Sprint 2024: Day 5

Link: https://mariatta.ca/posts/python-core-sprint-2024-day-5/

Python Core Sprint 2024: Day 5
Datetime and Hypothesis
I reviewed some issues that came to the CPython repo. There were a few interesting tickets related to the datetime
module. These issues were disc
Zato Blog: API Testing in Pure English

Link: https://zato.io/en/blog/api-testing-in-pure-english.html


API Testing in Pure English


2024-10-07, by Dariusz Suchojad


How to test APIs in pure English
Do you have 20 minutes to learn how to test APIs in pure English, without any programming needed?
Gr
Julien Tayon: Writing an interactive tcl/tk interpreter proxy to wish in python

Link: http://beauty-of-imagination.blogspot.com/2024/10/writing-interactive-tcltk-interpreter.html

Maybe, you want to experiment small stuffs in wish (the tcl/tk) interpreter because of a post claiming that direct python tcl/tk is simpler in some simple cases than tkinter.

As a convinced tkinter/F