[pythonwin] find() failing?

PacBell eugene fluxent at yahoo.com
Tue Apr 10 12:27:44 EDT 2001


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
>





More information about the Python-list mailing list