Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #2539 > unrolled thread
| Started by | Nathan Coulson <conathan@gmail.com> |
|---|---|
| First post | 2011-04-03 17:44 -0700 |
| Last post | 2011-04-03 17:44 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Looking for ideas on controlling python module loading Nathan Coulson <conathan@gmail.com> - 2011-04-03 17:44 -0700
| From | Nathan Coulson <conathan@gmail.com> |
|---|---|
| Date | 2011-04-03 17:44 -0700 |
| Subject | Looking for ideas on controlling python module loading |
| Message-ID | <mailman.174.1301877858.2990.python-list@python.org> |
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
Back to top | Article view | comp.lang.python
csiph-web