from twisted.internet import wxreactor
wxreactor.install()
from twisted.internet import reactor
.
write your code here
.
reactor.registerWxApp(app)
reactor.run()
You don't need wx mainloop. The key thing here is to import wxreactor first
and install it and then import reactor. 'app' in
Hi,
Anyone can give me a sample app skeleton to get two frameworks work together
well? Or just give me a link where I can figure out the technical details.
Thanks.
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/
Don Dwiggins wrote:
> Phil Christensen wrote:
> > trial takes an argument at the command-line where you can specify a
> > package or test case.
> >
> > for example:
> >
> > trial twisted
> > trial twisted.test
> > trial twisted.test.test_explorer
> > trial twisted.test.test_exp
thank you for sharing your experience.
Frankly, I do love twisted for its decent implementation of asyn call
concept.
2009/8/28 Phil Christensen
> On Aug 27, 2009, at 10:57 AM, 陶艺夫 wrote:
> > Thank you, Phil.
> >
> > Pyro has many examples, so I can understand it easily. I know
> > Twisted is gr
yes!
2009/8/28 Johann Borck :
> Darvin nb wrote:
>> Can anybody tell me, is there telnet example written with Twisted?
>>
> like twisted.conch.telnet ?
>
> hth, Johann
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twis
Darvin nb wrote:
> Can anybody tell me, is there telnet example written with Twisted?
>
like twisted.conch.telnet ?
hth, Johann
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted
Can anybody tell me, is there telnet example written with Twisted?
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On Aug 27, 2009, at 4:08 PM, Phil Christensen wrote:
> On Aug 27, 2009, at 4:00 PM, Don Dwiggins wrote:
>> I've been successfully and happily using Trial for a while now for
>> development of a server. I have many tests at this point; during
>> development of a new feature, I'd like to have a co
On Aug 27, 2009, at 4:00 PM, Don Dwiggins wrote:
> I've been successfully and happily using Trial for a while now for
> development of a server. I have many tests at this point; during
> development of a new feature, I'd like to have a convenient way to
> only
> run the tests relevant to that
Ralph Meijer wrote:
> On Tue, 2009-08-11 at 18:30 +0200, Gabriel Rossetti wrote:
>
>> [..]
>>
>
> Apparently you modified the original example here:
>
>
>> [..]
>> connector = XMPPClientConnector(reactor, "10.204.232.117", f)
>> connector.connect()
>>
>
> This would
Phil Christensen wrote:
> trial takes an argument at the command-line where you can specify a
> package or test case.
>
> for example:
>
> trial twisted
> trial twisted.test
> trial twisted.test.test_explorer
> trial twisted.test.test_explorer.TestBrowser
> trial t
On Aug 27, 2009, at 4:00 PM, Don Dwiggins wrote:
> I've been successfully and happily using Trial for a while now for
> development of a server. I have many tests at this point; during
> development of a new feature, I'd like to have a convenient way to
> only
> run the tests relevant to that fe
I've been successfully and happily using Trial for a while now for
development of a server. I have many tests at this point; during
development of a new feature, I'd like to have a convenient way to only
run the tests relevant to that feature.
I'm hacking it at this point by prefixing the name
On 06:30 pm, konr...@smelkovs.com wrote:
>Hi,
>HTTPClientFactory uses self.transport to do reads/writes. I would like
>to
>have a copy of all data in and out for debugging/logging purposes.
>How to do that (best?)?
twisted.protocols.policies.TrafficLoggingFactory may do what you want.
Jean-Paul
Hi,
HTTPClientFactory uses self.transport to do reads/writes. I would like to
have a copy of all data in and out for debugging/logging purposes.
How to do that (best?)?
--
Konrads Smelkovs
Applied IT sorcery.
___
Twisted-Python mailing list
Twisted-Python
Martin-Louis Bright gmail.com> writes:
>
>
> I am using linux, and I want the daemon to be as responsive as possible to log
events, so I think I would rather have it sit on the same box as where the log
is produced. (Perhaps I'm wrong about this?) So I'm going to try Cary's
ProcessProtocol appr
On Aug 27, 2009, at 10:57 AM, 陶艺夫 wrote:
> Thank you, Phil.
>
> Pyro has many examples, so I can understand it easily. I know
> Twisted is great. I think your "switching" must mean something :) .
> So I decide to use twisted PB.
Great!
I also remembered one thing that I found was extremely use
Thank you, Phil.
Pyro has many examples, so I can understand it easily. I know Twisted is
great. I think your "switching" must mean something :) .
So I decide to use twisted PB.
2009/8/27 Phil Christensen
> On Aug 27, 2009, at 9:33 AM, 陶艺夫 wrote:
> > I want to develop an C/S app over internet u
On Aug 27, 2009, at 9:33 AM, 陶艺夫 wrote:
> I want to develop an C/S app over internet using twisted Perspective
> Broker. The server will run as a windows service, and the clients
> will be wxPython desktop applications.
> Has anyone done the same thing or known the trick to do it? Shoud
> I
On 24 Aug, 11:07 pm, filoufake-pyt...@yahoo.fr wrote:
>Thank you Jean-Paul for replying,
>
>I still have some things that I don't understand:
>
>If I put your piece of code in my factory's protocol, I can connect to
>the server but as soon as I enter the username, I got the an error
>message tell
I am using linux, and I want the daemon to be as responsive as possible to
log events, so I think I would rather have it sit on the same box as where
the log is produced. (Perhaps I'm wrong about this?) So I'm going to try
Cary's ProcessProtocol approach, and if that doesn't work, Glyph's
LoopingCa
On 26 Aug, 11:08 pm, clay.gerr...@rackspace.com wrote:
>The way that sqlalchemy implements pool_recycle is "irrespective of
>idle time" best I can tell from looking at it. Keeping track of the
>last_used_time seems like it would have been equally reasonable,
>although perhaps even additional ov
Time for a little show and tell :-) Watch as line noise gets
transformed into beautiful Python structures:
http://paste.pocoo.org/show/136539/
Yay.
Still to do:
- A bit of documentation here and there, some of this NMEA stuff
is far too arcane to be docstringless
- A few methods need rem
Hi,
I want to develop an C/S app over internet using twisted Perspective Broker.
The server will run as a windows service, and the clients will be wxPython
desktop applications.
Has anyone done the same thing or known the trick to do it? Shoud I use PB
or Pyro or SPyro? Which is the best?
Thanks
If you're using a linux based system, you may have some luck setting
up syslogger to forward logging packets to the remote ip address, and
running the twisted daemon on the other box, and sending notifications
if the heartbeat from the monitored machine stops.
I was working on a project recently t
25 matches
Mail list logo