RE: Change Gateway Programmatically

2006-01-11 Thread Tim Golden
[Godwin Burby] | Subject: Re: Change Gateway Programmatically | | Well netsh turned out to be the perfect solution for my problem(even | though doing it in python would have given me some kicks). Just in case you fancied an alternative approach, you can do this with WMI. (untested, because I

Re: Change Gateway Programmatically

2006-01-11 Thread Godwin Burby
Thanx again. -- http://mail.python.org/mailman/listinfo/python-list

Re: Change Gateway Programmatically

2006-01-10 Thread Fredrik Lundh
Godwin Burby wrote: > I need to toggle the gateway ip of my windows xp machine quite > often due to some software requirements. I just want to know whether i > could do it programmatically using Python. > If so how? os.system("route ...") could work. for details on the route command, use

Re: Change Gateway Programmatically

2006-01-10 Thread bonono
Godwin Burby wrote: > Well netsh turned out to be the perfect solution for my problem(even > though doing it in python would have given me some kicks). I managed it > with two .bat files for toggling the gateway ips. Thank you friend. there is os.system/os.open* if you want to put python in the e

Re: Change Gateway Programmatically

2006-01-10 Thread Godwin Burby
Well netsh turned out to be the perfect solution for my problem(even though doing it in python would have given me some kicks). I managed it with two .bat files for toggling the gateway ips. Thank you friend. -- http://mail.python.org/mailman/listinfo/python-list

Re: Change Gateway Programmatically

2006-01-10 Thread bonono
Godwin Burby wrote: > Dear Pythoneer, > I need to toggle the gateway ip of my windows xp machine quite > often due to some software requirements. I just want to know whether i > could do it programmatically using Python. > If so how? I am sure there must be some elegant python way but you

Change Gateway Programmatically

2006-01-10 Thread Godwin Burby
Dear Pythoneer, I need to toggle the gateway ip of my windows xp machine quite often due to some software requirements. I just want to know whether i could do it programmatically using Python. If so how? -- http://mail.python.org/mailman/listinfo/python-list