[Python-3000] pythond: A system wide python daemon?

JustFillBug mozbugbox at yahoo.com.au
Mon May 8 04:53:50 CEST 2006


Is it possible to include a python daemon that will shorten startup time
and share most stdlib among all the python instances? If extension
libraries like pygtk can also be sured in memory, then maybe the total
memory usage can be greatly reduced for python gui applications. That
will encourage people write more python GUI application without worrying
bloatness in memory requirment:

A simple:
Python 2.3.5 (#2, Mar  6 2006, 10:12:24) 
[GCC 4.0.3 20060304 (prerelease) (Debian 4.0.2-10)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk;pygtk.require('2.0')
>>> import gtk
>>> w = gtk.Window()
>>> 

Cause:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
user     26585  0.6  1.1  18676  9280 pts/6    T    10:48   0:00 python




More information about the Python-3000 mailing list