Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Writing Comments in Python (Guide)

Link: https://realpython.com/python-comments-guide/

When writing code in Python, it’s important to make sure that your code can be easily understood by others. Giving variables obvious names, defining explicit functions, and organizing your code are al
Catalin George Festila: Python Qt5 - tray icon example.

Link: http://python-catalin.blogspot.com/2018/11/python-qt5-tray-icon-example.html

This tutorial is about another tray icon application type.The base application is the same like any application with some changes with this steps:- QSystemTrayIcon this will start to create the applic
Erik Marsja: Data Manipulation with Pandas: A Brief Tutorial

Link: https://www.marsja.se/data-manipulation-pandas-tutorial/

Learn three data manipulation techniques with Pandas in this guest post by Harish Garg, a software developer and data analyst, and the author of Mastering Exploratory Analysis with pandas.
Modifying a
Nigel Babu: Testing Ansible With Molecule

Link: http://nigelb.me/2018-11-06-testing-ansible-with-molecule.html

My colleague was recently assigned a task to create tests for an ansible role
that she works on. She pinged me for help and we got started in figuring out
what to do.
The first thing we attempted was
Test and Code: 52: pyproject.toml : the future of Python packaging - Brett Cannon

Link: https://testandcode.com/52

Brett Cannon discusses the changes afoot in Python packaging as a result of PEP 517, PEP 518, starting with "How did we get here?" and "Where are we going?"
Discussed:

flit
Poetry
tox
Continuous Inte
Mike Driscoll: The Ultimate Programmer Super Stack Bundle

Link: http://www.blog.pythonlibrary.org/2018/11/06/the-ultimate-programmer-super-stack-bundle/

I recently had the opportunity to get my second book, Python 201: Intermediate Python added to a bundle of other interesting programming books.
It is called The Ultimate Programmer Super Stack and it
Catalin George Festila: Python Qt5 - QColorDialog example.

Link: http://python-catalin.blogspot.com/2018/11/python-qt5-qcolordialog-example.html

Today I will show you how to use the QColorDialog and clipboard with PyQt5.You can read documentation from the official website.This example used a tray icon with actions for each type of code color.T
Python Celery - Weekly Celery Tutorials and How-tos: Quick Guide: Custom Celery Task Logger

Link: https://www.distributedpython.com/2018/11/06/celery-task-logger-format/

I previously wrote about how to customise your Celery log handlers. But there is another Celery logger, the celery.task logger. The celery.task logger is a special logger set up by the Celery worker.
Stack Abuse: Applying Wrapper Methods in Python for Feature Selection

Link: https://stackabuse.com/applying-wrapper-methods-in-python-for-feature-selection/

Introduction
In the previous article, we studied how we can use filter methods for feature selection for machine learning algorithms. Filter methods are handy when you want to select a generic set of
PyCoder’s Weekly: Issue #341 (Nov. 6, 2018)

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

Come work on PyPI, the future of Python packaging, and more
body,#bodyTable,#bodyCell{
height:100% !important;
margin:0;
padding:0;
width:100% !important;
}
t
Erik Marsja: Pandas Excel Tutorial: How to Read and Write Excel files

Link: https://www.marsja.se/pandas-excel-tutorial-how-to-read-and-write-excel-files/

In this tutorial we will learn how to work with Excel files and Python. It will provide an overview of how to use Pandas to load and write these spreadsheets to Excel. In the first section, we will go
PyCharm: PyCharm 2018.2.5 RC

Link: http://feedproxy.google.com/~r/Pycharm/~3/QmO-6Mz0Jv4/

We have a couple of fixes for PyCharm 2018.2 which you can now try in the 2018.2.5 Release Candidate.
New in 2018.2.5 RC

An issue that causes PyCharm to crash on Ubuntu 16.04 has been resolved
Matplo
gamingdirectional: Pygame’s Color class demo

Link: http://gamingdirectional.com/blog/2018/11/07/pygame-color/

Today I have paid a visit to the Pygame document page to revise all the pygame classes one by one because I have already forgotten all of them. In order to create a game with Pygame I will need to get
Real Python: Python "while" Loops (Indefinite Iteration)

Link: https://realpython.com/python-while-loop/

Iteration means executing the same block of code over and over, potentially many times. A programming structure that implements iteration is called a loop.
In programming, there are two types of iter
Python Anywhere: Always-on tasks

Link: https://blog.pythonanywhere.com/172/

Always-on tasks are a new feature we rolled out in our last system update. Essentially, they're a way you
can specify a program and tell us that you want us to keep it running all the time. If it e
Mike Driscoll: Python 101: Episode #32 – Static Code Analysis

Link: http://www.blog.pythonlibrary.org/2018/11/07/python-101-episode-32-static-code-analysis/

In this episode, we learn how we can use PyLine and PyFlakes to check our code for issues. Of course since this video was made, Flake8 and Python Black have become pretty popular, so you might want to
Catalin George Festila: Python Qt5 - QLCDNumber and QDial example.

Link: http://python-catalin.blogspot.com/2018/11/python-qt5-qlcdnumber-and-qdial-example.html

This tutorial uses a simple example of QLCDNumber and QDial.The steps start with create the QWidget with the QLCDNumber and QDial.You need to set geometry for both and connect the dial with valueChang
Catalin George Festila: Python Qt5 - QLCDNumber and QDial example.

Link: http://python-catalin.blogspot.com/2018/11/python-qt5-qlcdnumber-and-qdial-example.html

This tutorial uses a simple example of QLCDNumber and QDial.The steps start with create the QWidget with the QLCDNumber and QDial.You need to set geometry for both and connect the dial with valueChang
Moshe Zadka: The Conference That Was Almost Called "Pythaluma"

Link: https://orbifold.xyz/nbpy-2018.html

As my friend Thursday
said in her excellent talk
(sadly, not up as of this time)
naming things is important.
Avoiding in-jokes is,
in general,
a good idea.
It is with mixed feelings,
therefore,
that m