Im wondering: I have a library of python scripts. Now i want to share a particular script with someone and not give them my whole library, and obviously it has some requirements, so I'm wondering, how do you create a 'package' kinda thing? (not familiar with the lingo, never needed it. apologies if it means something else to you...)
- say i have a fileA.py, which imports fileB.py and fileC.py. but fileB.py also imports fileN and fileG.
- is there a way to create a new package, that would contain a structure of files only needed by that initial file, and even better - delete functions from files B, C, G, N, that aren't required?
There must be something like that out there, i can't be the only person needing this...
Thanks in advance,
Pete