Re: [Tutor] Python module structure & directories

2010-11-25 Thread Karim
Another possibility is to place you python library in the site package of your network installation, namely for my computer: *$HOME/build/python/src/Python-2.7.1rc1/Lib/site-packages* I build the latest release of python (rc1). But At build time I believe that the path to the libraries is har

Re: [Tutor] Python module structure & directories

2010-11-25 Thread Karim
Hello, I use to have it under src/lib as follow: src/lib/python src/lib/tcl src/lib/c All *.py modules are in src/lib/python with all the possible modules hierarchy. Then, At build time I copy lib root directory in the install. (with all C code compiled). Then the startup bin executable

Re: [Tutor] Python module structure & directories

2010-11-24 Thread Alan Gauld
"Judy Chen" wrote I am very new to Python, I worked on C/C++ before. I would like to know is it a good practice to put Python development code under ../src/UI/foo.py ../src/businesslogic/bar.py, etc. Thats fine, especially if its a big project. src means source code and python is a type o