The other day I ran into a use case where I needed to communicate with a subprocess I had started but I needed it to timeout. Unfortunately, Python 2 does not have a way to timeout the communicate method call so it just blocks until it either returns or the process itself closes. There are […]
This week we welcome Ed Leafe (@EdLeafe) as our PyDev of the Week! Ed is one of the co-creators of the Dabo Application Framework, which is a neat wrapper around wxPython and is aimed at building database driven applications, although you can use it for more than that. Ed also authors a fun tech blog. […]
This week we welcome Karsten Hilbert as our PyDev of the Week! Karsten took over the GNUmed project, which is a an open source electronic medical record program written mostly in Python. Let's take a few moments to get to know him better! Can you tell us a little about yourself (hobbies, education, etc): I […]
I've been busily working on my second book, Python 201: Intermediate Python. In part one of the book, there are 10 chapters. I recently finished up the last chapter for that part of the book. While I have some tweaks I want to do to a couple of the chapters in this part of the […]
You have probably been using iterators and generators since you started programming in Python but you may not have realized it. In this article, we will learn what an iterator and a generator are. We will also be learning how they are created so we can create our own should we need to. Iterators An […]
This week we have the honor of welcoming Mark Lutz as our PyDev of the Week. Mark is the author of the first Python book ever, Programming Python. He has also authored Learning Python and the Python Pocket Reference, all three of which were with O'Reilly publishing. Rather than rehash more of his background, let's […]