Re: FW: How to find out DNS ?

2002-06-27 Thread Matthew Sherborne
Yeah, getting root dns server's is still an art. If windows doesn't have them in the registry, or posix only has "search domain" entries, you'll need a list of root servers, and ask them for the name server that deal's with your host name, and they'll re-direct you down the tree. When you get

FW: How to find out DNS ?

2002-06-27 Thread Michael B. Wright
I'm not aware of any general purpose solution. The previously posted code may work for you, or it may not. I believe it has issues... Could you give more background on your goal/problem? i.e... Will you be "connected" at the time the script is run? How do you connect to the internet? How man

Re: Read/Change File attributes

2002-06-27 Thread Matthew Sherborne
Robin Siebler wrote: >How would I get/change the read-only attribute on a file? The only way that >I have found is win32file.GetFileAttributes. I have tried this, but I don't >what to do with the number it returns. > >Robin L. Siebler >Software Test Engineer >Palm >-

Re: How to find out DNS ?

2002-06-27 Thread Matthew Sherborne
A wrote: >Hi, >Is there a way how to find out, from Python , what primary or >secondary DNS I use when connecting to internet? >Thanks for help >Ladislav > >___ >ActivePython mailing list >[EMAIL PROTECTED] >To unsubscribe: http://listserv.ActiveState.

Re: Read/Change File attributes

2002-06-27 Thread Patricia J. Hawkins
> "RS" == Robin Siebler <[EMAIL PROTECTED]> writes: RS> How would I get/change the read-only attribute on a file? The RS> only way that I have found is win32file.GetFileAttributes. I have RS> tried this, but I don't what to do with the number it returns. I think there's a recipe in the Pyt

Re: Read/Change File attributes

2002-06-27 Thread Trent Mick
[Robin Siebler wrote] > How would I get/change the read-only attribute on a file? The only way that > I have found is win32file.GetFileAttributes. I have tried this, but I don't > what to do with the number it returns. You could read section 6.1.4 of the Python Library Reference (Files and Dire

Read/Change File attributes

2002-06-27 Thread Robin Siebler
How would I get/change the read-only attribute on a file? The only way that I have found is win32file.GetFileAttributes. I have tried this, but I don't what to do with the number it returns. Robin L. Siebler Software Test Engineer Palm Garunteed to be bug free

How to find out DNS ?

2002-06-27 Thread A
Hi, Is there a way how to find out, from Python , what primary or secondary DNS I use when connecting to internet? Thanks for help Ladislav ___ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs O

Re: infinite loop

2002-06-27 Thread Geoff Gardiner
>From memory: down to the python icon in the system tray, right-click (I think) and 'break into running code'. Geoff Gardiner [...] How do you break out of an infinite loop while executing a program in the PythonWin IDE?? ___ ActivePython mailing l

infinite loop

2002-06-27 Thread Roman Bogoyev
This is a newbie question, apologies if the solution is obvious: How do you break out of an infinite loop while executing a program in the PythonWin IDE?? The mouse and keyboard offer no response, and I've been resorting to ctl-alt-del and killing the process. Many thanks, Roman. -- ___