A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/085111.html below:

[pythonwin] find() failing?

[pythonwin] find() failing? [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

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