Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
ItsMyCode: [Solved] NameError: name ‘pd’ is not defined

Link: https://itsmycode.com/solved-nameerror-name-pd-is-not-defined/

ItsMyCode |
In Python,  NameError: name ‘pd’ is not defined occurs when you import the pandas library but fail to provide the alias as pd while importing it.
In this article, let us look at what is N
Armin Ronacher: Dependency Risk and Funding

Link: http://lucumr.pocoo.org/2022/1/10/dependency-risk-and-funding

I have a love/hate relationship with dependencies. I wrote about this
extensively on this blog. Once about the challenges with scaling trust
in dependencies and earlier about the
problem with micro
ItsMyCode: How to Fix: KeyError in Pandas?

Link: https://itsmycode.com/how-to-fix-keyerror-in-pandas/

ItsMyCode |
The KeyError in Padas occurs when you try to access the columns in pandas DataFrame, which does not exist, or you misspell them. 
Typically, we import data from the excel name, which impor
Zato Blog: API development workflow with Zato

Link: https://zato.io/blog/posts/zato-dev-workflow.html

Zato is an integration platform and backend application server which means that, during most of their
projects, developers using Zato are interested in a few specific matters.
The platform concentrate
Mike Driscoll: PyDev of the Week: Lais Carvalho

Link: https://www.blog.pythonlibrary.org/2022/01/10/pydev-of-the-week-lais-carvalho/

This week we welcome Lais Carvalho (@lais_bsc) as our PyDev of the Week! Lais is active in multiple Python user groups in Ireland and has helped organize multiple Python conferences. She is on a recen
ItsMyCode: How to Fix in Python ValueError: Trailing data?

Link: https://itsmycode.com/how-to-fix-in-python-valueerror-trailing-data/

ItsMyCode |
In Python ValueError: Trailing data occurs when you try to load the JSON data or file into pandas DataFrame, and the data is written in lines separated with newline characters such as ‘\n’
Real Python: Build and Handle POST Requests in Django – Part 3

Link: https://realpython.com/django-social-post-3/

In this four-part tutorial series, you’re building a social network with Django that you can showcase in your portfolio. This project is strengthening and demonstrating your understanding of relations
IslandT: How to write a Python calculator interface program

Link: https://islandtropicaman.com/wp/2022/01/08/how-to-write-a-python-calculator-interface-program/

In this article, let us write a Python calculator program with the help of the Tkinter module which comes together with the latest version of Python. This program will support any version of Python 3.
David Amos: 5 Ways To Use Python On An iPad

Link: https://davidamos.dev/5-ways-to-use-python-on-an-ipad/

When Apple released the M1 iPad Pros in March of 2021, I traded in my MacBook Pro to get the latest tablet. I’d already been using a mac Mini as my daily workhorse, so I wasn’t concerned about my day-
Matt Layman: Most Abstract Function First Is Better

Link: https://www.mattlayman.com/blog/2022/most-abstract-function-first-better/

Python is one of many languages that will let you define your module’s functions in whatever order you want. If your language of choice allows functions to be order independent, what order should you
Python for Beginners: Check For Prime Number in Python

Link: https://www.pythonforbeginners.com/basics/check-for-prime-number-in-python

Prime numbers are those numbers that have only two factors i.e. 1 and the number itself. In this article, we will discuss two ways to check for a prime number in python.
What is a prime number?
Prime
PyCoder’s Weekly: Issue #507 (Jan. 11, 2022)

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

#507 – JANUARY 11, 2022 View in Browser » Hey there, Quick announcement: I’m looking to hire a talented PyCoder’s Weekly Curator and Podcast Co-Host to join the PyCoder’s team in a part-time, free
Test and Code: 175: Who Should Do QA?

Link: https://testandcode.com/175


Who should do QA?
How does that change with different projects and teams?
What does "doing QA" mean, anyway?

Answering these questions are the goals of this episode.Sponsored By:Rollbar: Rollbar ena
Python Circle: Django vs Node.js: Which One Is Better for Web Development?

Link: https://pythoncircle.com/post/757/django-vs-nodejs-which-one-is-better-for-web-development/

Benefits of using Django and Node.js, Django vs Node.js: Which One Is Better for Web Development?, Basic features of Django and Node.js, Drawbacks of using Django and Node.js
Python GUIs: Using Layouts to Position Widgets in PySide6 — Use layouts to effortlessly position widgets within the window (updated for PySide6)

Link: https://www.pythonguis.com/tutorials/pyside6-layouts/

So far we've successfully created a window, and we've added a widget to it. However we normally want to add more than one widget to a window, and have some control over where it ends up. To do this in
Kay Hayen: Nuitka Release 0.6.19

Link: https://nuitka.net/posts/nuitka-release-0619.html

This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release adds support for 3.10 while also adding very many new
optimiz