[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
Thanx again.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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