Change Gateway Programmatically

bonono at gmail.com bonono at gmail.com
Wed Jan 11 01:52:04 EST 2006


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 may also like
to check out "netsh.exe", which comes with every XP.




More information about the Python-list mailing list