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/.

6h
comment Equality and identity - python
Integers in Python can be any number of bits. Regardless, it's perfectly legal for two different objects to have the same hash.
6h
comment Equality and identity - python
You can't override identity. It wouldn't make any sense. Two objects are either the same object, or not. Pretending that two different objects are the same would be mad.
11h
comment Subclassing a Python class, many of whose methods create new instances of the same class
You could create subclasses of all of the BS4 classes (potentially using a mixin class to add the extended methods), then monkey-patch these classes into the BS4 module.
12h
comment Python equivalent of lua's loadfile
It's possible by constructing a new function object. I outlined how to do that as part of this recent answer. Basically you need to extract the code object from the function from fileB and make a new function that uses fileA's globals.
13h
comment Python equivalent of lua's loadfile
What you want to do in that case is probably the execfile thing with an empty dictionary, {}. Then fish the same-named object out of the dictionary and put it in one of your own (under the name of the plugin).
13h
answered Python equivalent of lua's loadfile
18h
comment Kivy images without kivy language
Your question has nothing at all to do with Kivy or images. Please consider changing the title to something more relevant to what you are actually asking and adjusting your tags.
18h
revised Python: How to check if two lists are not empty
added 90 characters in body
19h
comment Python: How to check if two lists are not empty
Yes. if a and b as you originally had it.
20h
answered Python: How to check if two lists are not empty
1d
comment Why is my real IP address still visible even when using a proxy?
Yes, use a Web site that shows all the headers for your request, like myhttp.info.
1d
revised How to pickle and unpickle to portable string in Python 3
added 1 character in body
1d
comment How to pickle and unpickle to portable string in Python 3
That's a good trick with the environb. I didn't know about that one.
1d
revised How to pickle and unpickle to portable string in Python 3
added 83 characters in body
1d
revised How to pickle and unpickle to portable string in Python 3
added 13 characters in body
1d
answered How to pickle and unpickle to portable string in Python 3
1d
revised Getting the battery current values for the Android Phone
fix code formatting after five years
1d
comment is it possible to work with multiline statements using doctest?
Also, you can write your test as a function, then call that from doctest.
2d
comment is it possible to work with multiline statements using doctest?
Well, there's no reason you have to use doctest for all your testing.
2d
answered is it possible to work with multiline statements using doctest?
1 2 3 4 5