Quantcast
Channel: Planet Python
Browsing all 22462 articles
Browse latest View live

Philip Semanchuk: Creating PDF Documents Using LibreOffice and Python, Part 2

This is part 2 of a 4-part series on creating PDFs using LibreOffice. You should read part 1 if you haven’t already. This series is a supplement to a talk I gave at PyOhio 2016.Here in part 2, I...

View Article


Jamal Moir: [Video Series] Taking Your Python Skills to the Next Level With...

This is the 4th in a series covering Pythonic code written by Michael Kennedy of Talk Python To Me. Be sure to catch the whole series with 5 powerful Pythonic recommendations and over 45 minutes of...

View Article


Image may be NSFW.
Clik here to view.

Programming Ideas With Jake: Instance-Level Properties in Python

Making Descriptors that act as specialized properties can be tricky, especially when it comes to storing the data the the property controls. I should know, I literally wrote the book. Looking at how...

View Article

Weekly Python StackOverflow Report: (xxxii) stackoverflow python report

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2016-08-13 06:53:16 GMTΟpposite of any() function - [29/4]Splitting a...

View Article

Image may be NSFW.
Clik here to view.

Podcast.__init__: Episode 70 - Python on Windows with Steve Dower

SummaryIn order for Python to continue to attract new users, we need to have an easy way for people to get started with it, and Windows is still the most widely used operating system among computers....

View Article


Glyph Lefkowitz: What’s In A Name

Amber’s excellent lightning talk on identity yesterday made me feel many feels, and reminded me of this excellent post by Patrick McKenzie about false assumptions regarding names.While that list is...

View Article

Montreal Python User Group: Sous-Chef (Meals-on wheels) Final Sprint!

Join us on August 25th and contribute to the final sprint of Sous-chef, the new management platform of Santropol Roulant. They need our help to get the best tools to manage and deliver food to people...

View Article

Image may be NSFW.
Clik here to view.

Python 4 Kids: Python for Kids Book: Project 6

In these posts I outline the contents of each project in my book Python For Kids For Dummies.  If you have questions or comments about the project listed in the title post them here. Any improvements...

View Article


Image may be NSFW.
Clik here to view.

Python 4 Kids: Python for Kids: Python 3 – Project 6

Using Python 3 in Project 6 of Python For Kids For DummiesIn this post I talk about the changes that need to be made to the code of Project 6 in order for it to work with Python 3.  Most of the code in...

View Article


Glyph Lefkowitz: Python Packaging Is Good Now

Okay folks. Time’s up. It’s too late to say that Python’s packaging ecosystem terrible any more. I’m calling it.Python packaging is not bad any more. If you’re a developer, and you’re trying to create...

View Article

Image may be NSFW.
Clik here to view.

Andrew Dalke: Fragment chiral molecules in RDKit

In the previous essay, I showed that the simple fragmentation function doesn't preserve chiral after making a single cut. Here's the function definition: from rdkit import Chem # Only works correctly...

View Article

Image may be NSFW.
Clik here to view.

Erik Marsja: Exploring response time distributions using Python

Inspired by my post for the JEPS Bulletin (Python programming in Psychology), where I try to show how Python can be used from collecting to analyzing and visualizing data, I have started to learn more...

View Article

Weekly Python Chat: Machine learning & scikit-learn

We'll be asking Kevin Markham about machine learning with scikit-learn.

View Article


Image may be NSFW.
Clik here to view.

Juan Manuel Contreras: Buyers and Renters

After a months-long break from working on the Monopoly simulator, I am returning to this project with the intention of programming on a more regular basis. To help speed things along, I will be...

View Article

Glyph Lefkowitz: A Container Is A Function Call

It seems to me that the prevailing mental model among users of container technology1 right now is that a container is a tiny little virtual machine. It’s like a machine in the sense that it is...

View Article


Image may be NSFW.
Clik here to view.

Kushal Das: Event report: Flock 2016

This year’s Flock was help in Krakow, Poland, from 2nd to 5th August. /me, and Sayan started our journey on 30th from Pune, and we reached Krakow finally on 31st afternoon. Ratnadeep joined us from the...

View Article

Image may be NSFW.
Clik here to view.

Mike Driscoll: PyDev of the Week: Harry Percival

This week we welcome Harry Percival (@hjwp) as our PyDev of the Week! Harry is the author of Test-Driven Development with Python. You can visit his website to learn more about the book and even read it...

View Article


Image may be NSFW.
Clik here to view.

Doug Hellmann: dis — Python Bytecode Disassembler — PyMOTW 3

The dis module includes functions for working with Python bytecode by “disassembling” it into a more human-readable form. Reviewing the bytecodes being executed by the interpreter is a good way to...

View Article

Image may be NSFW.
Clik here to view.

Caktus Consulting Group: Python Nordeste 2016 Recap

Image via @pythonnordeste#pyselfieI don’t know anyone there. I don’t know the language. What about this Zika virus? What about this political unrest? These were some of the doubts and fears racing...

View Article

Andrew Dalke: Faster parity calculation

In the previous essay I needed determine the parity of a permutation. I used a Shell sort and counted the number of swaps needed to order the list. The parity is even (or "0") if the number of swaps is...

View Article
Browsing all 22462 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>