Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Ahmed Bouchefra: Connecting Python 3 and Electron/Node.JS: Building Modern Desktop Apps

Link: https://www.ahmedbouchefra.com/connect-python-3-electron-nodejs-build-desktop-apps/

connect-python-3-electron-nodejs-build-desktop-apps
In this post, you’ll learn about the possible ways that you can use to connect or integrate Python with Node.js and Electron with simple examples.
W
PyBites: Building a Stadia Tracker Site Using Django

Link: https://pybit.es/my-first-django-app.html

My First Django Project

Index

The Django App I wanted to create
What does it do?
What’s next?
Final Thoughts

I've been writing code for about 15 years (on and off) and Python for about 4 or 5 year
PyBites: When to Write Classes in Python And Why it Matters

Link: https://pybit.es/when-classes.html

When people come to Python one of the things they struggle with is OOP (Object Oriented Programming). Not so much the syntax of classes, but more when and when not to use them. If that's you, read on.
Talk Python to Me: #261 Monitoring and auditing machine learning

Link: https://talkpython.fm/episodes/show/261/monitoring-and-auditing-machine-learning

Traditionally, when we have depended upon software to make a decision with real-world implications, that software was deterministic. It had some inputs, a few if statements, and we could point to the
The Digital Cat: Object-Oriented Programming (OOP) concepts in Python

Link: https://www.thedigitalcatonline.com/blog/2020/04/26/object-oriented-programming-concepts-in-python/

In this article I will review the main concepts a beginner Python programmer should learn about OOP in Python. The content is explored in detail in other posts on the blog that are linked at the end o
Abhijeet Pal: How To Deploy Django App with Nginx, Gunicorn, PostgreSQL and Let’s Encrypt SSL on Ubuntu

Link: https://djangocentral.com/deploy-django-with-nginx-gunicorn-postgresql-and-lets-encrypt-ssl-on-ubuntu/

Django is a high-level full-stack open-source web framework written in Python, that encourages rapid development and clean, pragmatic design. Django is the go-to framework for any project irrespective
John Cook: A spring, a rubber band, and chaos

Link: https://www.johndcook.com/blog/2020/04/26/spring-rubberband-chaos/

Suppose you have a mass suspended by the combination of a spring and a rubber band. A spring can be compressed but a rubber band cannot. So the rubber band resists motion as the mass moves down but no
Abhijeet Pal: Using Environment Variables In Django

Link: https://djangocentral.com/environment-variables-in-django/

While working with web applications often we need to store sensitive data for authentication of different modules such as database credentials and API keys. These sensitive keys should not be hardcode
Python Insider: Python 2.7.18, the last release of Python 2

Link: http://feedproxy.google.com/~r/PythonInsider/~3/MYraY2fq0jI/python-2718-last-release-of-python-2.html

The CPython core developers are pleased to announce the immediate availability of Python 2.7.18.

Python 2.7.18 is the last Python 2.7 release and therefore the last Python 2 release. It's time for th
The No Title® Tech Blog: How to install the current Python version on CentOS Linux 7

Link: https://no-title.victordomingos.com/articles/2020/install_python_centos_linux

One of these days, while setting up a couple of Linux virtual machines to test my Python applications, I was faced with a series of obstacles on CentOS 7 that I needed to overcome. Since this is the k
Moshe Zadka: Numbers in Python

Link: https://orbifold.xyz/numbers.html

Numbers in Python come in all shapes and forms.
The reason different kind of representations of numbers exist is because
they all have different trade-offs.
These trade-offs are often surprising!

Int
Erik Marsja: Create a Correlation Matrix in Python with NumPy and Pandas

Link: https://www.marsja.se/correlation-matrix-python-numpy-pandas/?utm_source=rss&utm_medium=rss&utm_campaign=correlation-matrix-python-numpy-pandas

The post Create a Correlation Matrix in Python with NumPy and Pandas appeared first on Erik Marsja.
In this post, we will go through how to calculate a correlation matrix in Python with NumPy and Pand
Real Python: The Python pickle Module: How to Persist Objects in Python

Link: https://realpython.com/python-pickle-module/

As a developer, you may sometimes need to send complex object hierarchies over a network or save the internal state of your objects to a disk or database for later use. To accomplish this, you can use
PyCharm: Webinar Recording: “How To Build Real-Time Interactions In Your Django 3 App” with Calvin Hendryx-Parker

Link: http://feedproxy.google.com/~r/Pycharm/~3/vhaCqbeyH0A/

Last week we hosted Calvin Hendryx-Parker from Six Feet Up for a webinar covering real-time Django 3: Django Rest Framework, Django Channels, ASGI, web sockets, a little Docker, and more. The recordin
PyBites: Exploring the Modern Python Command-Line Interface

Link: https://pybit.es/guest-exploring-python-clis.html

Exploring the Modern Python Command-Line Interface
The goal here is simple: help the new Python developer with some of
the history and terminology around command-line interfaces (CLIs)
and explore how
Reuven Lerner: Working with warnings in Python (Or: When is an exception not an exception?)

Link: https://lerner.co.il/2020/04/27/working-with-warnings-in-python/

It happens to all of us: You write some Python code, but you encounter an error:
>>> for i in 10: # this will not work!
print(i)

TypeError: 'int' object is not iterable
This isn’t just an