Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
The Digital Cat: Python 3 OOP Part 1 - Objects and types

Link: http://blog.thedigitalcatonline.com/blog/2014/08/20/python-3-oop-part-1-objects-and-types/

This post is available as an IPython Notebook here
About this series
Object-oriented programming (OOP) has been the leading programming paradigm for several decades now, starting from the initial atte
The Digital Cat: Python Mocks: a gentle introduction - Part 1

Link: http://blog.thedigitalcatonline.com/blog/2016/03/06/python-mocks-a-gentle-introduction-part-1/

As already stressed in the two introductory posts on TDD (you can find them here) testing requires to write some code that uses the functions and objects you are going to develop. This means that you
Karim Elghamrawy: Python Enumerate Explained (With Examples)

Link: https://www.afternerd.com/blog/python-enumerate/

How do I get the index of an element while I am iterating over a list? If you are coming from other programming languages (like C), most likely you are used to the idea of iterating over the length of
Real Python: What Can I Do With Python?

Link: https://realpython.com/what-can-i-do-with-python/

You’ve done it: you’ve finished a course or finally made it to the end of a book that teaches you the basics of programming with Python. You’ve mastered lists, dictionaries, classes, and maybe even so
Stack Abuse: The Python tempfile Module

Link: http://stackabuse.com/the-python-tempfile-module/

Introduction
Temporary files, or "tempfiles", are mainly used to store intermediate information on disk for an application. These files are normally created for different purposes such as temporary ba
Bill Ward / AdminTome: Kafka Python Tutorial for Fast Data Architecture

Link: http://www.admintome.com/blog/kafka-python-tutorial-for-fast-data-architecture/

In this Kafka python tutorial we will create a python application that will publish data to a Kafka topic and another app that will consume the messages.

Fast Data Series Articles

Installing Apache
Python Software Foundation: Python Software Foundation Fellow Members for Q2 2018

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/8mEQc1MSolQ/python-software-foundation-fellow.html

We are happy to announce our 2018 2nd Quarter Python Software Foundation Fellow Members:


Anthony Shaw
Twitter, GitHub, Website

Christian Barra
Twitter, GitHub, Website

Jeff Reback
Twitter, GitHub
The Digital Cat: Useful pytest command line options

Link: http://blog.thedigitalcatonline.com/blog/2018/07/05/useful-pytest-command-line-options/

I recently gave a workshop on "TDD in Python with pytest", where I developed a very simple Python project together with the attendees following a TDD approach. It's a good way to introduce TDD, I thin
Eli Bendersky: Elegant Python code for a Markov chain text generator

Link: https://eli.thegreenplace.net/2018/elegant-python-code-for-a-markov-chain-text-generator/

While preparing the post on minimal char-based RNNs,
I coded a simple Markov chain text generator to serve as a comparison for the
quality of the RNN model. That code turned out to be consice and quit
NumFOCUS: NumFOCUS 2018 Google Summer of Code, Part 4 (Final)

Link: https://www.numfocus.org/blog/google-summer-of-code-2018-part-4-final

The post NumFOCUS 2018 Google Summer of Code, Part 4 (Final) appeared first on NumFOCUS.
Will McGugan: Idiomatic usage of Python assignment expressions (PEP 572)

Link: https://www.willmcgugan.com/blog/tech/post/idiomatic-usage-of-assignment-expressions-pep-572/

Most PEPs (Python Enhancement Proposal) tend do go under the radar of most developers, but PEP 572 has caused a lot of controversy in the Python community, with some developers expressing an intense d
Test and Code: 43: Kelsey Hightower - End to End & Integration Testing

Link: http://testandcode.com/43

I first heard Kelsey speak during his 2017 PyCon keynote.
He's an amazing speaker, and I knew right then I wanted to hear more about what he does and hear more of his story.
We discuss testing, of co
Fabio Zadrozny: PyDev 6.4.3 (code formatter standalone, debugger improvements and f-strings handling)

Link: http://feedproxy.google.com/~r/blogspot/pydev/~3/0Nhddp3Cg6s/pydev-643-code-formatter-standalone.html

The latest version of PyDev is now out... Major changes in this release include:1. Being able to use the PyDev code formatter as a standalone tool.To use it it's possible to install it as pip install
Talk Python to Me: #168 10 Python security holes and how to plug them

Link: https://talkpython.fm/episodes/show/168/10-python-security-holes-and-how-to-plug-them

Do you write Python software that uses the network, opens files, or accepts user input? Of course you do! That's what almost all software does. But these actions can let bad actors exploit mistakes an
Weekly Python StackOverflow Report: (cxxxiii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2018/07/cxxxiii-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-07-07 20:57:19 GMTIn Python 2, why do lists compare as greater tha
Techiediaries - Django: Pipenv Tutorial for Django Developers

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

Pipenv is the new officially recommended packaging tool for Python which is similar to modern package managers like NPM (Node.js) or Composer (PHP). Pipenv solves common problems, most Python develope