jacob martinson wrote:
Is it possible to setup WebKit to run servlets from compiled code
(*.pyc) rather than source files?

Using python from the command line on compiled files works, like:

python someapp.pyc

and also:

$ python

import someapp



I tried adding '.pyc' to 'FilesToServe' in Application.config, and
also removing it from 'FilesToIgnore', but that just sends the .pyc
file directly to the browser.

You'll have to fiddle with ServletFactory, which currently is set to only server .py files (leaving UnknownFileServletFactory to serve .pyc files).


--
Ian Bicking  /  [EMAIL PROTECTED]  /  http://blog.ianbicking.org


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to