On 8/31/12 7:17 PM, Laszlo Nagy wrote:
Is there any extension for Python that can do async I/O for PostgreSQL
with tornadoweb's ioloop?
Something like:
class MainHandler(tornado.web.RequestHandler):
@tornado.web.asynchronous
def get(self):
pg_connection.(long_taking_query_sql,par
On 9/1/12 9:28 AM, Laszlo Nagy wrote:
Hi
does running on tornado imply that you would not consider twisted
http://twistedmatrix.com ?
If not, twisted has exactly this capability hiding long running
queries on whatever db's behind deferToThread().
All right, I was reading its documentation
h
On 9/4/12 9:49 AM, jimmyli1...@gmail.com wrote:
I have a main program and a 3rd party module. Trying to import colorama, where
colorama is a folder with files in it, returns an ImportError: No module named
colorama. How should I import folders?
Do you have a (empty) __init__.py file present
For such tasks my choice would be twisted combined with ampoule.
Let's you spread out work to whatever amount of processes you desire,
maxing out whatever iron you're sitting on..
HTH, Werner
http://twistedmatrix.com/trac/
https://launchpad.net/ampoule
On 29.05.2012 16:43, Jabba Laci wrote:
On 7/1/11 11:15 AM, Alister Ware wrote:
The subject probably say is all but to elaborate.
I am looking for a way to communicate with a tapi driver for a PBX so I
can experiment with creating some CTI (Computer Telephony Integration)
software.
I used TAPI since its inception for quite a few pro
Ever tried to run it as Administrator (right click, Run as Administrator...)
Werner
Am 01.03.2011 17:12, schrieb Jayneil Dalal:
This is the error message I get when I try to run Pyhon on Vista:
unable to create user config directory
C:\Users\Jayneil\.idlerc
Check path and permissions.
Exiting!
You probably heard of the infamous FORTH chips like the Harris RTX2000,
or ShhBoom, which implemented a stack oriented very low power design
before there were FPGAs in silicon. To my knowledge the RTX2000 is still
used for space hardened application and if I search long enough I might
fine the
Hi
Might be an overkill, but have a look at twisted,
http://www.twistedmatrix.com
I usually use the spread package for structured communication between
partners via localhost
What are the best practices to do this ? Examples in a well known Pyhon app I
could hack ? Is it possible with sta
Hi
On 3/1/13 1:39 AM, Michael Torrie wrote:
On 02/28/2013 05:28 PM, Jake Angulo wrote:
My requirements for this framework in descending order: 1) Easy to
use API 2) Widely available documentation / Examples / Community
contributions 3) Feature-wise - kinda most that you commonly need is
there
Hi
I see quite a few alleys to go down when stuck with such types of
problems, but instead of listing and discussing them have a look at a
quite complete discussion and comparison of the various async
programming options available at
http://syncless.googlecode.com
Also have a look at the pr
Eclipse with pydev (great debugging) does the trick nicely, free of
charge and throws in some other goodies (JScript/HTML/XML editing) too.
I use the EE for Java developer version
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliosr
Install pydev from Menu Help/Soft
For me nothing beats using twisted ( http://www.twistedmatrix.com ) with
its clean implementation of deferreds and a host of other useful things
for simulations besides being the 'Swiss Army Knife' of networking in
Python. If you throw in stackless ( http://www.stackless.com )
simulations with
12 matches
Mail list logo