Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Evennia: Where do I begin? (repost)

Link: http://evennia.blogspot.com/2021/03/this-is-repost-of-article-i-originally.html

This is a repost of an article I originally wrote for the Imaginary Realities e-zine, Volume 7, issue 3 back in 2015. It's not Evennia-specific but meant for a wider audience interested in making a te
ABlog for Sphinx: ABlog v0.10.14 released

Link: https://ablog.readthedocs.org/release/ablog-v0.10-released/#ablog-v0-10-14-released

ABlog v0.10.14 released
Python Circle: Multiple language support in Django application: Internationalization in Django

Link: https://pythoncircle.com/post/745/multiple-language-support-in-django-application-internationalization-in-django/

Multiple language support in Django application, translation of Django application, Django admin site translation, Model and field keys language translation in Django application, Translating your Dja
Python Pool: Best Ways to Use Python String __contains__() Method

Link: https://www.pythonpool.com/python-string-__contains__/?utm_source=rss&utm_medium=rss&utm_campaign=python-string-__contains__

Introduction
There are many ways to check if the substring is present on the main string in python in python. In that, one of the methods is Python String __contains__(). This method is used to check
Python Pool: How to Convert Numpy Array to Pandas Dataframe

Link: https://www.pythonpool.com/numpy-array-to-pandas-dataframe/?utm_source=rss&utm_medium=rss&utm_campaign=numpy-array-to-pandas-dataframe

Introduction
In python, there are many ways to convert a numpy array to a pandas dataframe. But, sometimes we are asked to solve with particular methods. So In this tutorial, we will be seeing all the
Python Pool: Prime Factorization | How to Find Prime Factors of a Number in Python

Link: https://www.pythonpool.com/prime-factorization-python/?utm_source=rss&utm_medium=rss&utm_campaign=prime-factorization-python

Introduction
In this article, we will see a python program to print all the prime factors of the given number. If a number is a prime number and perfectly divides the given number then that number is
Python Pool: How to Start Using Numpy logspace() Method in Python

Link: https://www.pythonpool.com/numpy-logspace/?utm_source=rss&utm_medium=rss&utm_campaign=numpy-logspace

What is numpy logspace?
The Numpy logspace() function returns or creates the array by using the numbers that are evenly separated on a log scale. In the linear space, the sequence basically starts at
Mike Driscoll: PyDev of the Week: John Sheehan

Link: https://www.blog.pythonlibrary.org/2021/03/22/pydev-of-the-week-john-sheehan/

This week we welcome John Sheehan (@JennaSys) as our PyDev of the Week. John is the author of React to Python. You can see what John has been up via his website or on his Github profile.
Let’s spend s
Stack Abuse: How to Print Colored Text in Python

Link: https://stackabuse.com/how-to-print-colored-text-in-python/

Introduction
It's typical for CLI apps to return text in the same color of the terminal. There are always cases when we want to highlight output to the user, for example, a warning or error message. I
Real Python: Build an Asteroids Game With Python and Pygame

Link: https://realpython.com/asteroids-game-python/

Do you want to create your own computer games but like Python too much to abandon it for a career as a game developer? There’s a solution for that! With the Pygame module, you can use your amazing Pyt
Python Pool: Best Ways to Use Python String __contains__() Method

Link: https://www.pythonpool.com/python-string-__contains__/?utm_source=rss&utm_medium=rss&utm_campaign=python-string-__contains__

Introduction
There are many ways to check if the substring is present on the main string in python in python. In that, one of the methods is Python String __contains__(). This method is used to check
Python Pool: How to Convert Numpy Array to Pandas Dataframe

Link: https://www.pythonpool.com/numpy-array-to-pandas-dataframe/?utm_source=rss&utm_medium=rss&utm_campaign=numpy-array-to-pandas-dataframe

Introduction
In python, there are many ways to convert a numpy array to a pandas dataframe. But, sometimes we are asked to solve with particular methods. So In this tutorial, we will be seeing all the
Python Pool: Prime Factorization | How to Find Prime Factors of a Number in Python

Link: https://www.pythonpool.com/prime-factorization-python/?utm_source=rss&utm_medium=rss&utm_campaign=prime-factorization-python

Introduction
In this article, we will see a python program to print all the prime factors of the given number. If a number is a prime number and perfectly divides the given number then that number is
Python Pool: How to Start Using Numpy logspace() Method in Python

Link: https://www.pythonpool.com/numpy-logspace/?utm_source=rss&utm_medium=rss&utm_campaign=numpy-logspace

What is numpy logspace?
The Numpy logspace() function returns or creates the array by using the numbers that are evenly separated on a log scale. In the linear space, the sequence basically starts at
The Digital Cat: AWS Log Insights as CloudWatch metrics with Python and Terraform

Link: https://www.thedigitalcatonline.com/blog/2021/03/22/aws-log-insights-as-cloudwatch-metrics-with-python-and-terraform/

Recently I started using AWS CloudWatch Log Insights and I find the tool really useful to extract data about the systems I'm running without having to set up dedicated monitoring tools, which come wit
ABlog for Sphinx: ABlog v0.10.15 released

Link: https://ablog.readthedocs.org/release/ablog-v0.10-released/#ablog-v0-10-15-released

ABlog v0.10.15 released
Python for Beginners: How to Comment Inside a Python Dictionary

Link: https://www.pythonforbeginners.com/comments/how-to-comment-inside-a-python-dictionary


Comments in python are very handy in increasing the readability and maintainability of code. Generally we use comments to describe functions and class descriptions, for documentation purposes or to e
Peter Bengtsson: Umlauts (non-ascii characters) with git on macOS

Link: https://www.peterbe.com/plog/umlauts-with-git-on-osx

Use `git config --global core.quotePath false` to not get problems with umlauts in `git`.