[Twisted-web] Using synchronous (blocking) code with Nevow

Xif xifxif at gmail.com
Mon Apr 4 12:41:54 MDT 2005


Hello everyone

I have a library of Python scripts that I need to use with my upcoming
web-application.

Unfortunately, those scripts block; for example, some of the objects I
need to construct take several seconds each to return an instance from
__init__().

How can I still use that code inside Nevow?

(Using a different web server instead of Twisted's is definitely an
option, if it doesn't entail any significant disadvantages.)

Xif



More information about the Twisted-web mailing list