You're right. It turns out it's coming through as type=instance. If I just do a str(param), it then works. Any idea why this happens for this one particular case (param comes from form button values) vs all the others (field entries)? Is this a bug (and if so is it Microsoft, ActiveState, or Python?), or is there a subtle good reason for it? "Jeff Epler" <jepler at inetnebr.com> wrote in message news:slrn9cnigp.75h.jepler at potty.housenet... > print type(act) > type(act) will not be type("") > > billy/win32 is giving you some kind of COM object instead of a mere > string. You'll have to figure out how to make it into a string. > > Jeff >
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4