On Sun, Jun 23, 2002 at 12:24:53PM +1000, Dimitrije Nikic wrote: > Hey people, > How do you ping an IP address and then assign the ping to a variable? > Thx for your help... You could try doing my_var = commands.getoutput("ping ip") - Andrei -- Cymbaline: intelligent learning mp3 player - python, linux, console. get it at: cy.silmarill.org