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 How to use lambda to insert a value that is two other values within the list added together
If you look at how lambdas are written in Python, using virtually any of the results found by Googling "python lambda", and compare this to how you wrote yours, the reason for the syntax error should be clearer. Of course, whether lambda is the right tool for what you're trying to do is another question entirely.
2d
awarded Nice Answer
Oct
16
revised Python, Anaconda, pybrain on a Mac
typo
Oct
12
answered Read ordered Data Yet unstructured data is accumulated
Oct
11
awarded Enlightened
Oct
10
comment List returned by SafeConfigParser is [''], but shows a len() of 1
What are you expecting? [''] is a list with one item, so naturally its length is 1.
Oct
10
awarded Guru
Oct
9
revised Uncaught Error: SECURITY_ERR: DOM Exception 18 when I try to set a cookie
fix misspelling
Oct
8
answered Classes, Hidden Attributes and Inheritance
Oct
8
comment What is the fastest way to flatten arbitrarily nested lists in Python?
You're right for this particular situation. Building a new list with a recursive solution is going to move memory around a lot less than my solution and this should more than make up for the overhead of function calls.
Oct
7
comment Class constructor throwing attribute error Python
You haven't posted any code for otherstuff
Oct
7
comment What's the pythonic method of doing multiple ors?
operator in "+-*/" ... no need to use a list since the operators are all single chars.
Oct
6
answered Python: checking for the existence of a variable in globals() makes it invisible in the local context
Oct
6
answered Python operator overloading : commutative or right only?
Oct
6
revised Python Class Fields
added 79 characters in body
Sep
30
awarded Explainer
Sep
25
comment How to NOT lose the quotation marks when pyYaml dump.
You don't need the quote marks in this case; the output you have is perfectly valid YAML. (Naturally the library wants to use the most compact and readable representation of your data possible.)
Sep
24
revised known dictionary structure, but very nested - alternative to ugly code
added 311 characters in body
Sep
24
answered known dictionary structure, but very nested - alternative to ugly code
Sep
24
comment Emails never arrive when sent with python
You've checked your IP address against spam blacklists, right?
1 2 3 4 5