The PyDev of the Week this week is Tim Roberts. While we’ve never met in person, he’s helped me a time or two on several of the Python 3rd party mailing lists, such as wxPython, Reportlab and (I think) PyWin32. He runs his own consulting business and can be contacted by email at the following: email@example.com. Let’s spend some time getting to know him!
Can you tell us a little about yourself (hobbies, education, etc):
I have a BS in Computer Science from Oregon State University (go Beavers!).Â I spent 10 years doing mainframe operating system programming for Control Data before switching to Windows drivers during the Windows 3.0 beta.Â I’ve been doing Windows driver and driver support work (like diagnostics and support apps) since that time.
I’ve been an owner in a small consulting business for 20 years now.Â That’s a pretty good record for a small business.Â Besides the 3 owners, we have 5 employees, so I guess we are “job creators”.
When I’m not in front of my keyboard, I am a musician.Â I play clarinet in a community band, and I play piano to accompany several of the local high school choirs.Â I’m a Broadway musical nut, so I play in the pit orchestras for the musicals for three of the local school districts.Â I’ll be doing “Peter Pan” and “Shrek” this spring.Â I’ve also been a square dancer for nearly 25 years, and I’m part of the state federation of square dance clubs.
Why did you start using Python?
I’ve always been an explorer.Â I want me computer to do tedious and repetitive things for me.Â I was moderately adept at using Perl to automate my environment, but I hated the fact that Perl programs look like RS-232 line noise, and that it is impossible to understand a Perl program six weeks after you wrote it.Â When I saw Python 1.6 in 2000, I was immediately hooked by the human-readable syntax, and by the large and functional standard library.Â At that time, we were administering our own Linux servers, trying to come up with reasonable (and affordable) ways to manage email.Â I wrote a couple of fully-featured email packages in Python, in part because the tools were so good.
Many programmers underestimate the importance of readable code.Â After all, as the joke goes, if it was hard to write, it should be hard to read.Â After all, why do they call it “code”?Â But the fact is that most programs are read MUCH more often than they are written.Â Python, with its non-punctuation-based syntax, makes it much easier to write programs that can be read as prose.
What other programming languages do you know and which is your favorite?
Python is my favorite.Â When doing driver work, it’s often necessary to have diagnostic suites to exercise the hardware and the driver interfaces.Â Python is great for that, because it’s so easy to write an extensible command interpreter.
I’ve tried to learn F#.Â I think functional languages have great concepts to teach us, and I like the functional extensions that have been made to Python.Â However, F# suffers from the same “punctuation as syntax” disease that makes Perl so impossible to read.
What projects are you working on now?
I have several long-term things going on, although none of them are Python-related.Â I’m doing video capture drivers for some custom USB cameras.Â I’m doing video capture drivers for a big 7-foot LCD panel system for corporate conference rooms, where you plug in your laptop and share it with the room.Â I’m doing capture drivers for a medical equipment manufacturer who makes ultrasound cardiac monitors.Â The output of an ultrasound happens to look a lot like video capture, so I was a good fit.Â I’m doing drivers for a depth-sensing camera system somewhat like the Kinect.
One of the advantages of being an independent consulting is that the days are never boring.Â I get exposed to an incredible variety of things, from video capture to audio response curves to laser optics to real-time telemetry to high-speed USB devices to performance analysis to network optimization, etc.Â When I get up in the morning, I look forward to coming in to work.
Which Python libraries are your favorite (core or 3rd party)?
Gosh, there are so many.Â I think the library I use most often is PIL, the Python Imaging Library.Â I use it as a scriptable version of PhotoShop.Â As a dinosaur, I live in a command line.Â I’m always popping in to the command line interpreter to look at the size of an image, or change a format, or make a thumbnail.Â As a musician, I scan my music to put it on a Samsung Galaxy Tab 12.2″ tablet for performance, and I often need to tweak the balance contrast do a threshold operation the same way on many pages at a time.Â PIL does that for me.
However, the most fun I’ve had with Python has usually involved NumPy and its friends, including SciPy and matplotlib.Â I do a lot of projects with telemetry and heavy data analysis.Â The scientists and designers often give me analysis algorithms in Matlab.Â I’ve become quite adept at translating Matlab to NumPy, and I love the power and flexibility.
ReportLab is another library that gets a lot of use from me.Â I take great pride in making printed material look good, and ReportLab lets me make fine-tuned PDF files that will look good no matter where they are displayed and printed.
Is there anything else youâ€™d like to say?
As someone with 40 years of programming experience under his belt, I feel like I ought to have profound, sage advice for all the young whippersnappers who are just getting started, but I think it’s all been said.Â Python has a great community, and that community is an incredibly valuable resource for beginners.Â Don’t be afraid to use it.