Re: Python script for tracert



cindy jones wrote:
Hello.. I'm trying to do a scripting for tracert in windows using python...
I'm using popen(), but it displays only after the tracert is completed. i want the results to be displayed for every route.

I believe "tracert" is a really ugly 8.3 abbrevivation of traceroute ;)

Well, maybe an implementation in python itself could be of interest?

http://mail.python.org/pipermail/python-list/2003-March/196063.html

maybe there are more attempts - this one was just the first thing
which popped up with g**gle. (The script is in the attachment).

Regards
Tino

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Relevant Pages

  • Re: Tracking down Internet problems
    ... Then if a ping tracert goes missing, you could compare whatever results you got back to the saved results. ... From a quick look, you could embed some Javascript in your pages, which would then return to you the route from the client to your site. ... So if a given client phones up and complains he cannot get to your site, a quick loopup of his/hers IP would give you the "normal" routing path. ... PATENT PATENT!!, aw heck, too late now :-)) ...
    (comp.lang.java.softwaretools)
  • Re: Internet IP Routing changes
    ... >or am I at the mercy of the ISPs? ... With packet switching, each packet could be taking a different route, so your ... you a GUI, repeating, tracert display, might help you identify any bottlenecks. ...
    (microsoft.public.windowsxp.network_web)
  • Read this first (was: 8024402C and 80072ee7)
    ... Turned out my bad 'route print' and 'tracert' results were caused by my ... I turned the firewall off and turned my WinXP ...
    (microsoft.public.windowsupdate)
  • Re: Python script for tracert
    ... but it displays only after the tracert is completed. ... want the results to be displayed for every route. ... host = 'www.microsoft.com' ... Gabriel Genellina ...
    (comp.lang.python)