david brochu jr wrote: > Thanks, > > Unfortunately substituting os.system with os.popen results in the output > being: > > <open file 'ping www.google.com <http://www.google.com/> > ', mode 'r' at 0x009C4650> > <open file 'ping www.boston.com <http://www.boston.com/> > ', mode 'r' at 0x009C4650> > <open file 'ping www.espn.com <http://www.espn.com/> > ', mode 'r' at 0x009C4650> > <open file 'ping www.redsox.com <http://www.redsox.com/> > ', mode 'r' at 0x009C4650> > > instead of giving me the ping stats "pinging etc etc, packets sent 4 > recienved 4 etc) > > Any idea around this? > >
You're getting files back...so read them! :-) The output is there. -Luis -- http://mail.python.org/mailman/listinfo/python-list