How do I know when all threads are done?
I can launch threads just fine, but then I have to do a time.sleep(n) so the main thread from which they where launched will wait for all the threads to return. How can I detect when all threads are done and then return control to the main threads? Thanks for your help -- http://mail.python.org/mailman/listinfo/python-list
True random number generator
truerandom.py is a Python module that generates true random numbers obtained from www.random.org. Use with the form: mylist=truerandom.getnum(min,max,amount) mylist will be a list containing the true random numbers. If for some reason the numbers cannot be generated, the list will contain -1. You can download it here: http://code.google.com/p/truerandom/ -- http://mail.python.org/mailman/listinfo/python-list
Re: Pinging a machine from python
On May 25, 11:13 am, Prasanth <[EMAIL PROTECTED]> wrote: > I tried pinging a machine from python using socket programming but > could not do it. Is there any module which we can use to ping the > machine < like net::ping in perl> or can you give me simple program. Import OS ip=192.168.1.1 pingtext="ping "+ip+" -n 1" pingresult=os.popen(pingtext).readlines() "OS" gives you access to the command line of the operating system. -- http://mail.python.org/mailman/listinfo/python-list
Maximum items in a list?
Hi, Is there a theoretical limit to the number of items that can be appended to a list? thanks -- http://mail.python.org/mailman/listinfo/python-list