Python Forum
where i want to keep modules
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
where i want to keep modules
#1
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.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
Why not just change your PYTHONPATH?
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020