|
deimos posted:Nah, I am more thinking for settings and class loading. Like storing the name of the class you're supposed to use for a certain task on a settings file as a string then loading the correct class. Right now I use an eval and I really don't like it.
|
# ¿ Feb 15, 2008 23:00 |
|
|
# ¿ May 4, 2024 07:05 |
|
Is there any decent page or book outlining how to organize a growing Python project? Right now I've got a src, docs, data and build directory off of the root of my project. In src I've got the base .py files, with a sub-folders named things like gui and so forth. In Java, I'm used to things in the same package not having to be imported. With this project there's a GUI framework that's getting fairly large so at the top of one type of window there'll be this import:code:
So yeah, nothing is inherently broken with the project as it stands, it's just that I'm not sure of the sort of "standard layout" of Python programs.
|
# ¿ Jun 15, 2008 14:41 |
|
agscala posted:Quick stupid question for a beginner:
|
# ¿ Jul 30, 2008 01:49 |
|
SlightlyMadman posted:If pygame or pyglet was used, would they need to be installed as well, or would the exe contain everything needed?
|
# ¿ Jul 30, 2008 23:41 |