Looking for ideas on controlling python module loading
Nathan Coulson
conathan at gmail.com
Sun Apr 3 20:44:14 EDT 2011
Hello, I am working on a client/server program (game) that uses C w/
an embedded python interpreter, that uses python to script what
objects do in the game. (primarily a C environment)
I was wondering if it is possible to control what modules get loaded
(or not). perhaps by determining if the hash of the local file
matches a hash provided by the server.
I was also wondering, if you could construct a module, without a .py
file, and define functions and variables.
--
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
More information about the Python-list
mailing list