how to combine 2 program?

2008-06-04 Thread agus
i am a newbe in pyhton. i am using "Twisted Network Programming Essentials By Abe Fettig" as my tutorial. in that tutorial, i found 2 example, IMAPDOWNLOAD.py and requesthandler.py my problem is how to combine those program become one program, so that i can input the imapdownload inputs via web?

How to make one program connect to more than one TCP?

2008-06-04 Thread agus
The questions: I am using twisted to make program that can download IMAP email. after that, downloaded email is parsed, then posted to nntp server. my problem is how to make one progam connect to more than one tcp? -- http://mail.python.org/mailman/listinfo/python-list