Re: importing pyc from memory?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: importing pyc from memory?

From: Sybren Stuvel <sybrenUSE@YOURthirdtower.com.imagination>
Date: Mon Jul 04 2005 - 20:50:52 CEST

Derek van Vliet enlightened us with:
> Up to now, I've had all my python scripts defined in XML elements,
> which were compiled when my program started up using
> Py_CompileString. This has worked great, but I'm finding that most
> of the time my app uses to start up is spent in that
> Py_CompileString

It al makes sense now! Thanks for the explanation.

Sybren

-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa
Received on Thu Sep 29 16:45:17 2005