Re: threads/sockets quick question.

2005-09-19 Thread dowskimania
ed wrote: > this script should create individual threads to scan a range of IP > addresses, but it doesnt, it simple ... does nothing. it doesnt hang > over anything, the thread is not being executed, any ideas anyone? [SNIP] > while threading < MAX_THREADS: > scanThre

Re: Web framework

2005-03-09 Thread dowskimania
Gianluca Sartori wrote: > Hi guys, > > What web framework do you suggest to develop with? I really like CherryPy. It has a very intuitive design. A "directory" is an object and the "files" in it are methods. URL variables are passed as arguments to the methods. The CherryPy site has a good tut

Re: How do I know when a thread quits?

2005-06-07 Thread dowskimania
I'm no threads expert, but if you use the higher-level "threading" module, you could try something like this: import threading import time def countToTen(): for i in range(1,11): print i time.sleep(0.5) child = threading.Thread(target=countToTen) class ma

Re: SMTP Test Rig ( SMTPRIG.PY v1.0 )

2005-06-10 Thread dowskimania
Tim Williams wrote: > After a few posts recently, I have put together an SMTP test rig that will > receive emails and either store them to a file, write them to a console, or > both. Sounds interesting. > Does anyone have any suggestions on where I can get it hosted as a utility > for general