Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Erik Marsja: Rename Files in Python: A Guide with Examples using os.rename()

Link: https://www.marsja.se/rename-files-in-python-a-guide-with-examples-using-os-rename/?utm_source=rss&utm_medium=rss&utm_campaign=rename-files-in-python-a-guide-with-examples-using-os-rename

The post Rename Files in Python: A Guide with Examples using os.rename() appeared first on Erik Marsja.
In this post, we are going to work with Python 3 to rename files. Specifically, we will use the
Peter Bengtsson: How to pad/fill a string by a variable in Python using f-strings

Link: https://www.peterbe.com/plog/how-to-pad-fill-string-by-variable-python

I often find myself Googling for this. Always a little bit embarrassed that I can't remember the incantation (syntax).
Suppose you have a string mystr that you want to fill with with spaces so it's 10
Abhijeet Pal: Python Program to Convert Octal Number to Decimal and vice-versa

Link: https://djangocentral.com/convert-octal-number-to-decimal-and-vice-versa/

The octal numeral system, or oct for short, is the base-8 number system and uses the digits 0 to 7. The main characteristic of an Octal Numbering System is that there are only 8 distinct counting digi
Stack Abuse: Using SQLAlchemy with Flask and PostgreSQL

Link: https://stackabuse.com/using-sqlalchemy-with-flask-and-postgresql/

Introduction
Databases are a crucial part of modern applications since they store the data used to power them. Generally, we use the Structured Query Language (SQL) to perform queries on the database
Abhijeet Pal: Python Program To Reverse a Sentence

Link: https://djangocentral.com/reverse-a-sentence/

Problem Definition Create a python program to reverse a sentence. Algorithm Take a string as input. Convert the sentence into a list of words. Join the list in the reverse order which ultimately is th
PythonClub - A Brazilian collaborative blog about Python: Criando um CI de uma aplicação Django usando Github Actions

Link: http://pythonclub.com.br/django-ci-github-actions.html

Fala pessoal, tudo bom?
Nos vídeo abaixo vou mostrar como podemos configurar um CI de uma aplicação Django usando Github Actions.
https://www.youtube.com/watch?v=KpSlY8leYFY.
Talk Python to Me: #248 Climate change and your Python code

Link: https://talkpython.fm/episodes/show/248/climate-change-and-your-python-code

The most critical issue of our time is climate change. Yet, when you think about our carbon impact in the software industry, what comes to mind? Business travel? Commuting to the office so you don't m
Codementor: Python 3 Functions - Learn Python Programming Tutorial

Link: https://www.codementor.io/martinphilipjacobs/python-3-functions-learn-python-programming-tutorial-12z5aa56pu

Learn Python programming by learning functions in python. Python 3 is the latest python version and the best python version. Python is great for beginners and learning programming. This is a free&hell
Go Deh: Sharing another way?

Link: http://feedproxy.google.com/~r/GoDeh/~3/ShxwjsprIus/sharing-another-way.html

Tickled!Sharing came up in something I was reading that got me revisiting the Wikipedia page on the Thue Morse Sequence. Tucked away to the right is a static image of ones and zeroes with the caption:
Python Insider: Python 3.9.0a3 now available for testing

Link: http://feedproxy.google.com/~r/PythonInsider/~3/en_sY5UnpQk/python-390a3-now-available-for-testing.html


Go get it here: https://www.python.org/downloads/release/python-390a3/


This is an early developer preview of Python 3.9
Python 3.9 is still in development. This releasee, 3.9.0a3 is the
third of s
Weekly Python StackOverflow Report: (ccxii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2020/01/ccxii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-01-25 14:48:31 GMTRead-the-docs build fails with "cannot import na
Will McGugan: Prettier logging with Rich

Link: https://www.willmcgugan.com/blog/tech/post/prettier-logging-with-rich/




© 2020 Will McGugan
Pretty log output


If you are a Python developer you may spend a large part of your day reading log output that looks like this:


© 2020 Will McGugan
Ugly log output

Front en
Made With Mu: Announcing Mu version 1.0.3

Link: https://madewith.mu/mu/releases/2020/01/26/mu-1-0-3.html

The latest stable version of Mu is here!
Version 1.0.3 is a
bug-fix release with no new features.
We didn’t intend to cut this release but changes in the way the latest OSX
works meant that code highl
Podcast.__init__: Simplifying Social Login For Your Web Applications

Link: https://www.pythonpodcast.com/python-social-auth-social-login-episode-247/

A standard feature in most modern web applications is the ability to log in or register using accounts that you already own on other sites such as Google, Facebook, or Twitter. Building your own integ
Mike Driscoll: PyDev of the Week: Thomas Wouters

Link: http://www.blog.pythonlibrary.org/2020/01/27/pydev-of-the-week-thomas-wouters/

This week we welcome Thomas Wouters (@Yhg1s) as our PyDev of the Week! Thomas is a core developer of the Python language. He is very active in open source in general and has been a director of the Pyt
Mike Driscoll: PyDev of the Week: Thomas Wouters

Link: https://www.blog.pythonlibrary.org/2020/01/27/pydev-of-the-week-thomas-wouters/

This week we welcome Thomas Wouters (@Yhg1s) as our PyDev of the Week! Thomas is a core developer of the Python language. He is very active in open source in general and has been a director of the Pyt
Stack Abuse: Text Translation with Google Translate API in Python

Link: https://stackabuse.com/text-translation-with-google-translate-api-in-python/

Unless you have been hiding under a rock, you have probably used Google Translate on many occasions in your life. Whenever you try to translate a word or a sentence from a certain language to another,
Codementor: Dividing Deep Into Enhancing Photos With Python

Link: https://www.codementor.io/harikrishna83/dividing-deep-into-enhancing-photos-with-python-131u1bj2pi

Python is the most reliable and renowned content management system for websites of any kind to create dynamically attractive web resources for their uses.
Python has got everything that developers...