Hi,

Here is a simple prog that I can run from the Python shell and it runs fine but 
when I double click the 'filename.py' ,
it does not execute the ping statement, and seems like it is stuck at the 
following output:


Fri Apr 11 12:16:09 2008
Testing  192.168.0.1



The prog is as follows:

import os, curses
import socket, time

BAS ='192.168.0.1'

os.system ('ping '+ BAS)

print time.ctime()

curses.delay_output(5000)

Any ides as to why it is doing that? You may email me at [EMAIL PROTECTED]




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to