Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
REPL|REBL: 3-axis Accelerometer-Gyro — Measuring acceleration and orientation with an MPU6050

Link: https://www.2bitcoder.com/article/3-axis-gyro-micropython/

Measuring acceleration and rotation has a lot of useful applications, from drone or rocket stablisation to making physically interactive handheld games.
An accelerometer measures proper acceleration,
PyCoder’s Weekly: Issue #349 (Jan. 1, 2019)

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

#349 – JANUARY 1, 2019 View in Browser » Happy New Year! It’s been an amazing 2018 for Python and I can’t wait to see what 2019 has in store for us. With so much growth and excitement in the space
Graham Dumpleton: Dashboard combining workshop notes and terminal

Link: http://blog.dscpl.com.au/2019/01/dashboard-combining-workshop-notes-and.html

The workshop environment described so far in this series of posts only targeted the problem of providing an in browser interactive terminal session for workshop attendees. This approach was initially
gamingdirectional: Change the direction of the enemy ship

Link: http://gamingdirectional.com/blog/2019/01/02/change-the-direction-of-the-enemy-ship/

Hello and happy new year to all readers of this website, in this new year’s eve I would like to list out the entire plan for this website in the year 2019 before we proceed even further. After a long
codingdirectional: Create a strong password for a website account with python

Link: http://codingdirectional.info/2019/01/02/create-a-strong-password-for-a-website-account-with-python/

Welcome to another chapter of enjoying coding with python, in this chapter we are going to explore another website which will help us to improve our python skill by solving various python related prob
Simple is Better Than Complex: How to Implement Grouped Model Choice Field

Link: https://simpleisbetterthancomplex.com/tutorial/2019/01/02/how-to-implement-grouped-model-choice-field.html

The Django forms API have two field types to work with multiple options: ChoiceField and ModelChoiceField.
Both use select input as the default widget and they work in a similar way, except that Model
Rene Dudfield: Year of the Desktop #yearofthedesktop

Link: http://renesd.blogspot.com/2019/01/year-of-desktop.html

#yearofthedesktop is a long running joke in FLOSS communities. When will Linux be more popular than Windows on the Desktop?(please hold back your laughter until the end).Let me explain why this is the
Real Python: Modeling Polymorphism in Django With Python

Link: https://realpython.com/modeling-polymorphism-django-python/

Modeling polymorphism in relational databases is a challenging task. In this article, we present several modeling techniques to represent polymorphic objects in a relational database using the Django
Stack Abuse: Introduction to Python's Collections Module

Link: https://stackabuse.com/introduction-to-pythons-collections-module/

Introduction
Collections in Python are containers that are used to store collections of data, for example, list, dict, set, tuple etc. These are built-in collections. Several modules have been develop
Mike Driscoll: Python 101: Episode #40 – Creating Executables with py2exe

Link: http://www.blog.pythonlibrary.org/2019/01/02/python-101-episode-40-creating-executables-with-py2exe/


In this screencast, we will learn how to turn your Python code into a Windows executable file using py2exe.
You can also read the chapter this video is based on here or get the book on Leanpub
Python
Evennia: Into 2019!

Link: http://evennia.blogspot.com/2019/01/into-2019.html

A new year has come around and it's time to both look back at the old and onward to the future of Evennia, the Python MUD creation system!     Last year  Last year saw the release of Evennia 0.8. This
pgcli: Release v2.0.2

Link: http://pgcli.com/v2.0.2.html

Pgcli is a command line interface for Postgres database that does
auto-completion and syntax highlighting. You can install this version using:

$ pip install -U pgcli

After the update of pgcli to use
Calvin Spealman: Using a React Context as a Dispatch Replacement

Link: http://techblog.ironfroggy.com/2019/01/using-react-context-as-dispatch.html

React Contexts are the pretty little bows of the React world.Here's a really quick example of the kind of messy code you can cleanup by using contexts, without dragging in a larger dependency like Red
Dan Yeaw: How to Rock Python Packaging with Poetry and Briefcase

Link: https://dan.yeaw.me/posts/python-packaging-with-poetry-and-briefcase/

As part of modernizing Gaphas, the
diagramming widget for Python, I took another look at what the best practices
are for packaging and releasing a new version of a Python library or
application. There
Mike Driscoll: wxPython: Changing Custom Renderers for Columns / Rows

Link: http://www.blog.pythonlibrary.org/2019/01/03/wxpython-changing-custom-renderers-for-columns-rows/

The wxPython GUI toolkit has a very rich and powerful Grid widget that I have written about previously on this blog. It allows you to create sheets of cells similar to those in Microsoft Excel.
There
codingdirectional: Solving tic tac toe problem with python

Link: http://codingdirectional.info/2019/01/03/solving-tic-tac-toe-problem-with-python/

Hello again, today we are going to continue exploring py.checkio.org site by solving this tic tac toe question with python, this question requires us to find out which player has won the tic tac toe g
gamingdirectional: Move the enemy ship up and down

Link: http://gamingdirectional.com/blog/2019/01/03/move-the-enemy-ship-up-and-down/

Hello and welcome back, in this article we will create a mechanism to move the horizontal moving enemy ship up and down within a certain vertical range. It will be very boring if the horizontal moving