Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
gamingdirectional: Create an exit button on the main game menu scene

Link: http://gamingdirectional.com/blog/2018/12/13/create-an-exit-button-on-the-main-game-menu-scene/

In this article we will continue with our previous pygame project by creating an exit button on the main game menu scene which when the user clicks on it the program will close the game. We will creat
Jean-Louis Fuchs: libchirp or Software is infinite

Link: https://ganwell.github.io/libchirp-2.html

I want to thank Adfinis-SyGroup who have supported me and allowed me to develop
libchirp.

Writing a message-passing library and some of the things I learned. In multiple
installments.


It takes alwa
Test and Code: 58: Testing REST APIs with Docker containers and pytest

Link: https://testandcode.com/58

Let's say you've got a web application you need to test.
It has a REST API that you want to use for testing.
Can you use Python for this testing even if the application is written in some other lang
Will Kahn-Greene: Socorro: migrating to Python 3

Link: https://bluesock.org/~willkg/blog/mozilla/socorro_python3.html


Summary
Socorro is the crash ingestion
pipeline for Mozilla's products like Firefox. When Firefox crashes, the Breakpad
crash reporter asks the user if the user would like to send a crash report. If
Stack Abuse: Introduction to Web Scraping with Python

Link: https://stackabuse.com/introduction-to-web-scraping-with-python/

Introduction
Web-scraping is an important technique, frequently employed in a lot of different contexts, especially data science and data mining. Python is largely considered the go-to language for we
Techiediaries - Django: Django CRUD: Python 3.7 & Generic Class-Based Views

Link: https://www.techiediaries.com/django-crud-generic-views/

Throughout this tutorial, you'll create a Django CRUD example application using generic class based views. You will be using the latest Python 3.7 version.
You'll learn to quickly create CRUD views by
codingdirectional: Move files from one folder to another folder with python

Link: http://codingdirectional.info/2018/12/15/move-files-from-one-folder-to-another-folder-with-python/

After I have finished writing the python program which will remove the duplicate files in another folder, the first part of this tkinter’s project has come to an end and the second part will follow. J
gamingdirectional: What is your top achievements?

Link: http://gamingdirectional.com/blog/2018/12/15/python-9/

After the previous article, we have finally been able to create a score scene as I had promised you before in the last article. What this scene does is to list out the latest 5 levels that the player
James Bennett: How to break Python

Link: https://www.b-list.org/weblog/2016/nov/28/break-python/

Edited December 2018: added sections for Python 3.7 and upcoming 3.8, updated Python 3.6 section since Python 3.6 has been released, and updated Python 3.3 section since 3.3 has reached end-of-life.
D
Weekly Python StackOverflow Report: (clvi) stackoverflow python report

Link: http://python-weekly.blogspot.com/2018/12/clvi-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-12-15 14:32:38 GMTIs is safe to use next within a for loop in Pyth
"Morphex's Blogologue": Python quick-fix of broken router

Link: http://blogologue.com/blog_entry?id=1544885504X93

I have a router which seems to "take the day off" every once in a while, and this started after I filled up all 4 Ethernet ports.Rebooting, the only fix I've found so far, fixes the problem, so that a
Techiediaries - Django: Angular 6|7 Tutorial — CRUD & Python REST API

Link: https://www.techiediaries.com/angular-tutorial/

Angular 7 is released! Read about its new features and how to update Angular 6 to v7.
This tutorial is designed for developers that want to use Angular 6/7 to build front-end apps for their back-end R
Toshio Kuratomi: Python, signal handlers, and exceptions

Link: https://anonbadger.wordpress.com/2018/12/15/python-signal-handlers-and-exceptions/

Never ever, ever raise a regular exception in a Python signal handler.
This is probably the best advice that I had never heard.  But after looking into an initial analysis of a timeout decorator bug i
gamingdirectional: Create a power bar for pygame project

Link: http://gamingdirectional.com/blog/2018/12/16/pygame-6/

In this chapter, we are going to create the last piece of game feature which is the player’s power bar, after this, I will do all the touches up to this game project which certainly includes to tidy u
codingdirectional: Tidy up the user interface

Link: http://codingdirectional.info/2018/12/16/tidy-up-the-user-interface/

Welcome back to the multitas project which we have already created two features for this application in the previous articles 1) Remove duplicate files 2) Move file from one folder to another. In this