simple program

shawn s desktop_specialist at
Fri Apr 11 18:20:06 CEST 2008


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

Fri Apr 11 12:16:09 2008

The prog is as follows:

import os, curses
import socket, time

BAS =''

os.system ('ping '+ BAS)

print time.ctime()


Any ides as to why it is doing that? You may email me at desktop_specialist at

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list