![]() |
where i want to keep modules - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: where i want to keep modules (/thread-11003.html) |
where i want to keep modules - Skaperen - Jun-17-2018 i would like to start keeping my personal modules in a separate subdirectory than scripts. i have a "cmd" subdirectory that is much like a "bin" subdirectory, but is for "commands" (usually scripts ... and more and more are python). but i want to put modules in a different subdirectory to keep things organized. has anyone worked out ways to do this? i'm thinking of having a bunch of symlinks in "cmd" for each module in "py/mod" but that can get messy and i'd prefer to avoid it. RE: where i want to keep modules - ichabod801 - Jun-17-2018 Why not just change your PYTHONPATH? |