Hello!
Prompt web framework to work with twisted. Need GET / POST / Sun and the
opportunity to work with application objects.
Now I look in the direction of Klein. Whether work with Flask or the
Pyramids.
If it is possible a small example, or where to look.
Thank you in advance
Alexey
from twisted.webimport server, resource
from twisted.internetimport reactor, defer
class Simple(resource.Resource):
isLeaf =True def render_GET(self, request):
return "Hello, world!" def call_me():
d = defer.Deferred()
print "Get something" d.callback("success")
return d
his case one channel = one command = one respons 29.07.15 11:56,
Glyph пишет:
On Jul 28, 2015, at 10:02 PM, Alexey Panyovin <mailto:a...@runtel.ru>> wrote:
I'm use self made queue for my task. I'll try to amp. Thanks glyph!
Good luck Alexey! Thanks for using Twist
I'm use self made queue for my task.
I'll try to amp.
Thanks glyph!
С уважением,
--
Паневин Алексей
Коммерческий директор
ООО Рантел
e-mail: a...@runtel.ru
Tel: +7 (495) 134-30-60 (1011)
Tel: +7 (906) 680-04-04
29.07.15 3:40, Glyph Lefkowitz пишет:
On Jul 28, 2015, at 10:09
Hello all.
Help me please.
Tell me how to wrap in Defer dataReceived.
For example, I need to execute a command and send receive data in
callback. The only yet I found - to use the session number sent commands
and replies received
Can one example.
Thanks in advance!
--
Alexey
)?
Thanks again for Your help, guys.
Twisted is beautiful.
On 11/02/2011 01:24 AM, Glyph wrote:
> On Nov 1, 2011, at 3:57 PM, Alexey Ganzha wrote:
>
>> Hello everebody.
>> May be somebody knows open source chat app for twisted web?
>> Possible not the complete app, but just
Thank You very much!
On 11/02/2011 01:24 AM, Glyph wrote:
> On Nov 1, 2011, at 3:57 PM, Alexey Ganzha wrote:
>
>> Hello everebody.
>> May be somebody knows open source chat app for twisted web?
>> Possible not the complete app, but just skeleton. Possible some
>&g
Hello everebody.
May be somebody knows open source chat app for twisted web?
Possible not the complete app, but just skeleton. Possible some
snippets, pieces...
Will appreciate any suggestions.
Thanks.
___
Twisted-Python mailing list
Twisted-Python@twis
socket in
twisted either?
Sorry, if that is a non-issue, or already tracked, I'm just curious.
--
Alexey.
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
eactor). (#2259)
> """
>
> So, upgrade to Twisted 10.1.
Great!!!
Thanks a lot!
--
Alexey.
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
The code is in attachment.
I run it on Debian/Linux, twisted 10.0.0
When you run it on a terminal, it works by prefixing the data you enter with
"dataReceived: "
and outputting that back to terminal.
$ ./program.py
i: blabla
o: dataReceived: 'blabla
o: '
i: ^D
o: readConnectionLost(input is done
_
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
--
Alexey.
___
Twisted-Python mailing list
Twisted-Python@twis
st()
doStop()
Well, I understand, you will veto them arguing by lot of code using old names,
but I am interested to know will they break the abstraction of protocol factory?
Can please anyone explain the asymmetry of the interfaces of protocol factories
and tell how can it be useful for me.
-based transport, that is, full-duplex, half-
> >closeable, with support
> >of getting the remote endpoint address and with ability to start TLS on
> >top of it
> >and without implementing every that feature myself :)
>
> Hopefully if we can figure out how to
14 matches
Mail list logo