Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Graham Dumpleton: Integrating the workshop notes with the image

Link: http://blog.dscpl.com.au/2019/01/integrating-workshop-notes-with-image.html

If you are still following this series of blog posts, we now have a dashboard for our workshop environment which combines workshop notes with the interactive terminal in the users browser.This enabled
Matthew Rocklin: GPU Dask Arrays, first steps

Link: https://matthewrocklin.com/blog//work/2019/01/03/dask-array-gpus-first-steps

The following code creates and manipulates 2 TB of randomly generated data.
import dask.array as da

rs = da.random.RandomState()
x = rs.normal(10, 1, size=(500000, 500000), chunks=(10000, 10000))
(x
Stack Abuse: Python Context Managers

Link: https://stackabuse.com/python-context-managers/

Introduction
One of the most "obscure" features of Python that almost all Python programmers use, even the beginner ones, but don't really understand, is context managers. You've probably seen them in
PyPy Development: PyPy for low-latency systems

Link: http://feedproxy.google.com/~r/PyPyStatusBlog/~3/twVRZ18z204/pypy-for-low-latency-systems.html


PyPy for low-latency systems
Recently I have merged the gc-disable branch, introducing a couple of features
which are useful when you need to respond to certain events with the lowest
possible latenc
Simple is Better Than Complex: How to Use Date Picker with Django

Link: https://simpleisbetterthancomplex.com/tutorial/2019/01/03/how-to-use-date-picker-with-django.html

In this tutorial we are going to explore three date/datetime pickers options that you can easily use in a Django
project. We are going to explore how to do it manually first, then how to set up a cus
Programiz: Python time Module

Link: https://www.programiz.com/python-programming/time

In this article, we will explore time module in detail. We will learn to use different time-related functions defined in the time module with the help of examples.