Re: [Twisted-Python] how to get the user's input

2008-12-02 Thread lei ren
thanks jean-Pul.i can use commandline to intercat with server by the StandardIO. it's so easy with it and there is a sample in Twisted NetWork Programming Essentials wow from twisted.internet import stdio, reactor, protocol from twisted.protocols import basic import re class DataForwardingProto

Re: [Twisted-Python] www.lua.org with twisted.python

2008-12-02 Thread Jarrod Roberson
On Tue, Dec 2, 2008 at 3:27 PM, Sven-Erik Tiberg <[EMAIL PROTECTED]>wrote: > Hi. > > I know it now, put a completly wrong question on this forum. > > The reason are that I'm looking for a protocol to exchange states of > objects in 3D worlds ( web3d.org ) and simulation applications so it can > fo

RE: [Twisted-Python] www.lua.org with twisted.python

2008-12-02 Thread Sven-Erik Tiberg
Hi. I know it now, put a completly wrong question on this forum. The reason are that I'm looking for a protocol to exchange states of objects in 3D worlds ( web3d.org ) and simulation applications so it can form f.ex. driver simulators, flight simulators a.s.o. In searching for a protocol tha

Re: [Twisted-Python] www.lua.org with twisted.python

2008-12-02 Thread Jarrod Roberson
On Tue, Dec 2, 2008 at 8:45 AM, Sven-Erik Tiberg <[EMAIL PROTECTED]>wrote: > Hi > > Looking at lua as a possbile network protocol for distributed > simulations. > Anyone used www.lua.org in twisted. > Pro and Con? lua is another scripting language, more aimed at embedding than python. so what yo

Re: [Twisted-Python] how to get the user's input

2008-12-02 Thread Jean-Paul Calderone
On Tue, 2 Dec 2008 21:38:18 +0800, lei ren <[EMAIL PROTECTED]> wrote: hello ,everybody: i am a new to use the twisted. i woul'd like to complete a WEBGAME with it.but i have a problem for the twisted i have complete the server ,and the simple client.but ,i want to the client have more function.

Re: [Twisted-Python] www.lua.org with twisted.python

2008-12-02 Thread Jean-Paul Calderone
On Tue, 2 Dec 2008 14:45:49 +0100, Sven-Erik Tiberg <[EMAIL PROTECTED]> wrote: Hi Looking at lua as a possbile network protocol for distributed simulations. Anyone used www.lua.org in twisted. Pro and Con? As far as I know, Lua isn't a network protocol, so your question doesn't seem to make se

Re: [Twisted-Python] Twisted with PyQt

2008-12-02 Thread Jean-Paul Calderone
On Tue, 2 Dec 2008 14:29:54 +0200, Aydın ŞEN <[EMAIL PROTECTED]> wrote: Hi, i am using qt4reactor with twisted. My app structure is below: i have pyqt class [snip] i am updating my progressBar from Upload class, but window is freezing when i do it (only progressBar isnot, others are freezing w

Re: [Twisted-Python] XMPP server connection question

2008-12-02 Thread Christopher Zorn
On Tue, Dec 2, 2008 at 8:21 AM, Gabriel Rossetti < [EMAIL PROTECTED]> wrote: > Gabriel Rossetti wrote: > >> Hello everyone, >> >> I wrote an XMPP client and I have a question, when it tries to connect and >> the server is not listening, it doesn't send back an error and tries >> forever. I see tha

Re: [Twisted-Python] how to get the user's input

2008-12-02 Thread Maarten ter Huurne
On Tuesday 02 December 2008, lei ren wrote: > if i want to get the > user's input with raw_input() in a while loop,but it will block to wait > the user' input > what can i do for this .use thread? of twisted have some more power > feature for the problem,,thank you every body Maybe you can put sy

[Twisted-Python] www.lua.org with twisted.python

2008-12-02 Thread Sven-Erik Tiberg
Hi Looking at lua as a possbile network protocol for distributed simulations. Anyone used www.lua.org in twisted. Pro and Con? /BG Sven-Erik Tiberg / ITS Lulea Univ of Technology Sweden ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com

[Twisted-Python] how to get the user's input

2008-12-02 Thread lei ren
hello ,everybody: i am a new to use the twisted. i woul'd like to complete a WEBGAME with it.but i have a problem for the twisted i have complete the server ,and the simple client.but ,i want to the client have more function. one is let the usr input some command to the server but when i write t

Re: [Twisted-Python] XMPP server connection question

2008-12-02 Thread Gabriel Rossetti
Gabriel Rossetti wrote: Hello everyone, I wrote an XMPP client and I have a question, when it tries to connect and the server is not listening, it doesn't send back an error and tries forever. I see that this function (twisted/names/srvconnect.py): def _ebGotServers(self, failure): fa

[Twisted-Python] Twisted with PyQt

2008-12-02 Thread Aydın ŞEN
Hi, i am using qt4reactor with twisted. My app structure is below: i have pyqt class class MainWindow(Object): bla bla bla from twisted.internet import reactor reactor.connectTCP('192.168.1.100', 8000, ClientFactory_(self)) # i am sending qt object to clientFactory class Clie