On Mar 30, 2012, at 7:43 PM, hz hanks wrote:
> Hi All,
>
> I have a server listen to two ports and run as follows:
>
> reactor.listenTCP(PORT1,
> file_trans_service.getFileTransCtrlServFactory()
> reactor.listenTCP(PORT2,
> file_trans_service.getFileTransCtrlServFactory()
>
On Mar 30, 2012, at 3:23 PM, Brian Warner wrote:
> On 3/25/12 7:11 PM, Glyph wrote:
>
>> I'm going to try to get started on record my desired behavior for
>> logging as tickets soon though, so Twisted can at least have some really
>> good logging tools /eventually/.
>
> While you're thinking
Hi All,
I have a server listen to two ports and run as follows:
reactor.listenTCP(PORT1, file_trans_service.getFileTransCtrlServFactory()
reactor.listenTCP(PORT2, file_trans_service.getFileTransCtrlServFactory()
reactor.run()
Now I want to close the function of PORT1, but I
On 03/30/2012 06:36 PM, hz hanks wrote:
> Any one knows how to solve this problem? I just need a Template to
> realize the Twisted with GUI. Very appreciated!
>
http://twistedmatrix.com/documents/current/core/howto/choosing-reactor.html#auto15
___
Twist
The answer is here:
http://twistedmatrix.com/documents/8.2.0/api/twisted.internet.tksupport.html
use tksupport.install() instead of Tkinter.run()
2012/3/30 hz hanks :
> Hi all,
>
> I'm writing a program with Twisted and use Tkinter to realize the GUI
> interface. However, it seems that I can not
Hi all,
I'm writing a program with Twisted and use Tkinter to realize the GUI
interface. However, it seems that I can not run both
Tkinter.mainloop() and twisted.internet.reactor.run() in the same
thread because they will block the other. I tried to program a button
in Tkinter and when the button
On 3/25/12 7:11 PM, Glyph wrote:
> I'm going to try to get started on record my desired behavior for
> logging as tickets soon though, so Twisted can at least have some really
> good logging tools /eventually/.
While you're thinking about this space, I'll plug the logging tools I
built into Foo