How to use python get my windows box's ip setting type? Dynamic ip, or
static ip?
If it's static ip, what's the exact value?
--
http://mail.python.org/mailman/listinfo/python-list
The way has one shortcoming. That's it depend on the proper language
version of Windows. If I'm using Simplified Chinese Windows, I must
modify some strings.
:(
Duncan Booth wrote:
> "kode4u" <[EMAIL PROTECTED]> wrote:
>
> > How to use python get my windows
ot;C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line
187, in __str__
return str(self.__call__())
UnicodeEncodeError: 'ascii' codec can't encode characters in position
15-19: ordinal not in range(128)
How to deal with it?
Roger Upole wrote:
> "kode4u" <
Properties_['Caption'].Value.encode('mbcs')
> (you may need to use a different codec)
>
> Roger
>
>
> "kode4u" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > There are some errors in result:
> >>>> import wi