Planet Python RSS
215 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Morsels: Multiline comments in Python

Link: https://www.pythonmorsels.com/multiline-comments/

Python does not have multiline comments. But you can use alternatives like docstrings, editor shortcuts, and conventional commenting methods, depending on your requirements.



Table of contents

Does
Matt Layman: Why Django and why not Flask?

Link: https://www.mattlayman.com/blog/2024/why-django-and-why-not-flask/

Why would someone pick Django over Flask? That’s the question that I got on stream and here is my answer.
Real Python: Python's unittest: Writing Unit Tests for Your Code

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

In this quiz, you’ll test your understanding of testing your Python code with the unittest framework.
Testing in Python is a huge topic and can come with a lot of complexity, but it doesn’t need to be
ListenData: How to Build ChatGPT Clone in Python

Link: https://www.listendata.com/2023/06/how-to-build-chatgpt-clone-in-python.html

In this article, we will see the steps involved in building a chat application and an answering bot in Python using the ChatGPT API and gradio.
Developing a chat application in Python provides more co
ListenData: 4 Ways to Use ChatGPT API in Python

Link: https://www.listendata.com/2024/04/4-ways-to-use-chatgpt-api-in-python.html

In this tutorial, we will explain how to use ChatGPT API in Python, along with examples.
Steps to Access ChatGPT API
Please follow the steps below to access the ChatGPT API.

Visit the OpenAI Platform
Go Deh: Searching OEIS tables

Link: http://paddy3118.blogspot.com/2024/04/searching-oeis-tables.html

 


 A few months ago I submitted a series to OEIS that was accepted; yes, but OEIS does not seem to leave my series searchable!(best viewed on larger than a portrait phone) Let me explain.The documen
Zato Blog: Enterprise Python: Integrating with Salesforce

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


Enterprise Python: Integrating with Salesforce


2024-04-22, by Dariusz Suchojad


Overview
Salesforce connections are one of the newest additions to
Zato
3.2, allowing you to look up and manage Sa
Real Python: Write Unit Tests for Your Python Code With ChatGPT

Link: https://realpython.com/chatgpt-unit-tests-python/

Having a good battery of tests for your code may be a requirement for many Python projects. In practice, writing unit tests is hard and can take a lot of time and effort. Therefore, some developers do
Django Weblog: An open letter regarding the DjangoCon Europe CfP

Link: https://www.djangoproject.com/weblog/2024/apr/22/an-open-letter-regarding-the-djangocon-europe-cfp/


As many of you are not doubt aware there have recently been some community conversation regarding a license agreement that was published as part of the DjangoCon Europe Call for Proposals for organiz
ListenData: 4 Ways to Correct Grammar with Python

Link: https://www.listendata.com/2024/01/4-ways-to-correct-grammar-with-python.html

This tutorial explains various methods for checking and correcting grammar using Python. Automatic grammar correction helps students, professionals and content creators to make sure their writing foll
Real Python: Python Sequences: A Comprehensive Guide

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

In this quiz, you’ll test your understanding of
Python sequences.
By working through this quiz, you’ll revisit the basic characteristics of a sequence, operations common to most sequences, special met
Django Weblog: DjangoCon US 2024 CFP Last Call

Link: https://www.djangoproject.com/weblog/2024/apr/23/djangocon-us-2024-cfp-last-call/

Hey Django enthusiasts!
Have you submitted your talk or tutorial for DjangoCon US 2024, in beautiful Durham, North Carolina, USA?
Time flies, and we're fast approaching the deadline (April 24, 2024 at
Real Python: Python Basics Exercises: Scopes

Link: https://realpython.com/courses/python-basics-exercises-scopes/

On your Python journey, you’ve worked with functions and loops. To fully understand functions and loops in Python, you need to be familiar with the issue of scope.
In this Python Basics Exercises vide
Python Bytes: #380 Debugging with your eyes

Link: https://pythonbytes.fm/episodes/show/380/debugging-with-your-eyes

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

<ul>
<li><a href="https://pirsquared.org/blog/numfocus-concerns.html"><strong>NumFOCUS concerns</strong></a></li>
<li><a href="https://github.com
PyCoder’s Weekly: Issue #626 (April 23, 2024)

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

#626 – APRIL 23, 2024 View in Browser » Asyncio Handle Control-C (SIGINT) When the user presses CTRL-C on the keyboard, the OS raises an interrupt signal to your program. When writing concurrent
PyPy: PyPy v7.3.16 release

Link: https://www.pypy.org/posts/2024/04/pypy-v7316-release.html

PyPy v7.3.16: release of python 2.7, 3.9, and 3.10
The PyPy team is proud to release version 7.3.16 of PyPy.
This release includes security fixes from upstream CPython, and bugfixes to the
garbage col
Test and Code: 219: Building Django Apps & SaaS Pegasus - Cory Zue

Link: https://podcast.pythontest.com/episodes/building-django-apps-saas-pegasus

I'm starting a SaaS project using Django, and there are tons of decisions right out of the gate. To help me navigate these decisions, I've brought on Cory Zue.   Cory is the creator of SaaS Pegasus, a