Win32net.NetServerEnum Unicode problem

jcashman55 at my-deja.com jcashman55 at my-deja.com
Wed Jun 7 10:49:05 EDT 2000


Having trouble with the following line:

        entries, total, resume= \
win32net.NetServerEnum('Dopey', \
102,win32netcon.SV_TYPE_ALL, 0, 4096)

When I run code that contains this line, I get:

TypeError: The object can not be converted to a
Unicode object

I have run some of the the other win32net calls
without a problem.  Anyone have an idea?

Thanks.

Jim



Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list