kindall

Seattle, WA

engyrus.com

Age: 46

I'm a technical writer at Tecplot, Inc., makers of fine data visualization software for aerospace/CFD, oil and gas exploration, and general scientific/engineering uses. Python is my Swiss Army Knife of choice. I use it to help build and validate our documentation and help, among other things. I also have some proficiency with HTML, XML, AppleScript, C#, C, and if anyone ever has a question about 6502 assembly language, I'm your man. :-)

I occasionally do Python-related blogging at http://www.engyrus.com/.

1d
comment python 2.7 reference count error
Please post code that causes this error.
2d
comment Python class namespacing
No you do not...
Jan
23
comment UnboundLocalError in Python 3.4
Why would you even write code like that? Just raise the new AttributeError directly in the except clause...
Jan
23
comment python PIL image how to save image to a buffer so can be used later?
StringIO is explicitly designed to be like a file. You have just finished writing to the "file," therefore the file pointer is at the end of the "file". So reading doesn't get anything, because you're at the end of the "file." That's why you have to seek(0) to read it. Because it's like a file. It works just like you'd expect it to work.
Jan
23
revised HTML table scraping in python without BeautifulSoup
spelling
Jan
23
revised Python PRAW Reddit web scraper: How to skip already downloaded pictures?
spelling
Jan
23
comment Python PRAW Reddit web scraper: How to skip already downloaded pictures?
You should probably use a set.
Jan
22
comment The site module is not automatically imported during interpreter startup
It's already working, as i've explained. You don't need to do anything. What exactly do you want to have happen that isn't already happening?
Jan
22
comment The site module is not automatically imported during interpreter startup
No. site.main() has already been called by the time your script does anything. That is, site.py contains a line that reads, in its entirety, main(). So when the interpreter imports it, main() is called.
Jan
22
revised The site module is not automatically imported during interpreter startup
added 27 characters in body
Jan
22
answered The site module is not automatically imported during interpreter startup
Jan
21
comment SyntaxError: unexpected EOF while parsing Python Calculator
Have you entered a valid Python expression? This is exactly the error you'll get if you don't. You probably want to catch it and throw up an error message.
Jan
20
revised Python: Cannot copy file TypeError: coercing to Unicode: need string or buffer, file found
added 9 characters in body
Jan
20
answered Python: Cannot copy file TypeError: coercing to Unicode: need string or buffer, file found
Jan
20
answered python when I use the '__slots__'
Jan
20
revised python when I use the '__slots__'
code formatting
Jan
20
comment Defaultdict counter counting twice Python
This could be addressed by using any() instead of sum().
Jan
20
comment Defaultdict counter counting twice Python
Again, please post the output you are getting.
Jan
20
comment Defaultdict counter counting twice Python
What output do you expect and what are you getting?
Jan
19
awarded Enlightened
1 2 3 4 5