Regular expressions are basically a tiny language all their own that you can use inside of Python and many other programming languages. You will often hear regular expressions referred to as "regex", "regexp" or just "RE". Some languages, such as Perl and Ruby, actually support regular expression syntax directly in the language itself. Python only […]
This week we welcome Kenneth Reitz (@kennethreitz) as our PyDev of the Week! Kenneth is the developer behind the Requests package, which is one of my favorites. He is also the co-author of the upcoming O'Reilly Book, The Hitchhiker's Guide to Python. You can visit his website to see what he's been up to or […]
This week we welcome R. David Murray (@rdavidmurray) as our PyDev of the Week. Mr. Murray is a core developer of the Python language and is currently maintainer of the email module. He has a Python blog, although it hasn't been updated in a while. You might want to check out his Github profile to […]
I've written about super briefly in the past, but decided to take another go at writing something more interesting about this particular Python function. The super built-in function was introduced way back in Python 2.2. The super function will return a proxy object that will delegate method calls to a parent or sibling class of […]
What does it mean to benchmark ones code? The main idea behind benchmarking or profiling is to figure out how fast your code executes and where the bottlenecks are. The main reason to do this sort of thing is for optimization. You will run into situations where you need your code to run faster because […]
This week we welcome Wesley Chun as our PyDev of the Week! Wesley Chun, MSCS, is author of Prentice Hall's bestselling "Core Python" series (corepython.com), the "Python Fundamentals" companion videos, co-author of "Python Web Development with Django" (withdjango.com), and has written for Linux Journal, CNET, and InformIT. In addition to being an engineer at Google, […]