Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Django Weblog: Want to host DjangoCon Europe 2024?

Link: https://www.djangoproject.com/weblog/2023/mar/20/want-to-host-djangocon-europe-2024/

DjangoCon Europe 2023 will be held May 29th-June 2nd in Edinburgh, Scotland, but we're already looking ahead to next year's conference. Could your town - or your football stadium, circus tent, private
Python for Beginners: Convert String to DataFrame in Python

Link: https://www.pythonforbeginners.com/basics/convert-string-to-dataframe-in-python

We use strings for text manipulation in Python. On the other hand, we use dataframes to handle tabular data in python. Despite this dissimilarity, we may need to convert a string to a pandas dataframe
Real Python: Summing Values the Pythonic Way With sum()

Link: https://realpython.com/courses/python-sum-function/

Python’s built-in function sum() is an efficient and Pythonic way to sum a list of numeric values. Adding several numbers together is a common intermediate step in many computations, so sum() is a pre
Mike Driscoll: The Python Quiz Book is Now Available

Link: https://www.blog.pythonlibrary.org/2023/03/21/the-python-quiz-book-is-now-available/


The Python Quiz Book is Mike Driscoll’s latest book on the Python programming language. There are over one hundred quizzes and answers in the book to help you test your Python knowledge.
From the Pub
CodersLegacy: Pyinstaller Spec File Tutorial

Link: https://coderslegacy.com/pyinstaller-spec-file-tutorial/

In this Pyinstaller Tutorial, we will discuss how to manage, modify, and use the Spec File to compile EXE’s.
Generating a single executable file that works flawlessly on every platform is not an easy
PyCoder’s Weekly: Issue #569 (March 21, 2023)

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

#569 – MARCH 21, 2023 View in Browser » How to Evaluate the Quality of Python Packages Just like you shouldn’t download any file from the Internet, you shouldn’t blindly install third-party Pyth
Python Bytes: #328 We are going to need some context here

Link: https://pythonbytes.fm/episodes/show/328/we-are-going-to-need-some-context-here

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

<p><strong>About the show</strong></p>

<p>Sponsored by <a href="http://pythonbytes.fm/f
Python for Beginners: Pandas Append Row to DataFrame

Link: https://www.pythonforbeginners.com/basics/pandas-append-row-to-dataframe

The pandas module provides different methods to add and remove rows from a dataframe. In this article, we will discuss different ways to append a row to pandas dataframe using the append() method and
Mike Driscoll: ArcticDB and Python – An Interview with Gary Collier

Link: https://www.blog.pythonlibrary.org/2023/03/22/arcticdb-and-python-an-interview-with-gary-collier/

The Man Group, contacted me about their Python product, ArcticDB. If you go to ArcticDB’s documentation, you’ll learn that it is Man Group’s high-performance Python-native DataFrame database.
Gary Col
Real Python: When Should You Use .__repr__() vs .__str__() in Python?

Link: https://realpython.com/python-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
Python Software Foundation: Protecting the Python Trademarks

Link: https://pyfound.blogspot.com/2023/03/protecting-python-trademarks.html

Who is the Trademarks Working Group?The Python Software Foundation Trademarks Working Group was created by the PSF Board of Directors to  monitor and authorize (or prohibit) use of trademarks held by
Python⇒Speed: Speeding up text processing in Python (is hard)

Link: https://pythonspeed.com/articles/faster-text-processing/

If you’re doing text or string manipulation in Python, what do you do if your code is too slow?
Assuming your algorithm is reasonably efficient, the next step is to try faster alternatives to Python:
"Mathspp Pydon'ts": Streaming data from Flask to HTMX using Server-Side Events (SSE)

Link: https://mathspp.com/blog/streaming-data-from-flask-to-htmx-using-server-side-events


This short reference article shows how to stream data from a Flask web app to HTMX using server-side events (SSE).

Introduction
I have been trying to create a web app with Flask and HTMX that update
Stack Abuse: How to Get JSON from a URL in Python

Link: https://stackabuse.com/how-to-get-json-from-a-url-in-python/

Introduction
Being able to retrieve data from remote servers is a fundamental requirement for most projects in web development. JSON is probably one of the most popular formats for data exchange due t
PyCharm: PyCharm 2023.1 Release Candidate 2 Is Out!

Link: https://blog.jetbrains.com/pycharm/2023/03/2023-1-rc-2/

The second PyCharm 2023.1 Release Candidate (RC) build is here.
To see what has already been added in the PyCharm 2023.1 Early Access Program (EAP), take a look at our EAP blog posts.
The Toolbox App
John Ludhi/nbshare.io: ElasticSearch Empty Reply From Server Error

Link: https://www.nbshare.io/notebook/57079652/ElasticSearch-Empty-Reply-From-Server-Error/

ElasticSearch Empty Reply From Server ErrorIn Elasticsearch latest versions, xpack security is enabled by default. To resolve the error "Empty reply from server" curl --cacert /etc/elasticsearch/certs
Anwesha Das: Women in tech, Stockholm 2023

Link: http://anweshadas.in/women-in-tech-stockholm-2023/

What does a good day look like? For me, it is the day to spend with friends and doing what I love the most, talking and spreading knowledge about Open Source. Yesterday was one such day.

Yesterday wa
Real Python: The Real Python Podcast – Episode #150: Lessons Learned From Four Years Programming With Python

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

What are the core lessons you've learned along your Python development journey? What are key takeaways you would share with new users of the language? This week on the show, Duarte Oliveira e Carmo is