I'm new to Python and TurboGears.  I haven't been able to find the
answer to my question by Googling, possibly because "gzip" is
everywhere on the web.

The context of my question is: deploying a TurboGears application onto
a system with limited (flash) storage.  I am aware of the various
compressed filesystems available, but I'm considering other
approaches.

Is it possible to deploy a TurboGears application with all/some of
it's source .py and .kid files gzipped to save space?

e.g. If foo.kid can't be found, foo.kid.gz should be read instead.  So
long as the .kid and .py files do need to be accessed randomly, there
should be no need to gunzip the file.)

These are text files, so 3:1 compression may be possible.

I have a feeling (as functions are first class objects in Python, like
Ruby) that it may be possible to redefine a few IO functions to
achieve this.  Any hints would be welcome.

Regards,

Chris.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to