Getting Directory of Command Line Entry Point For Packages
Abdur-Rahmaan Janhangeer
arj.python at gmail.com
Fri Nov 12 16:51:17 EST 2021
Greetings list,
Let's say i created a package named miaw
miaw also has a cli command called miaw
miaw prints files and folders in the directory it is called in
except that when miaw is used, it prints the files and folders in
site-packages
This is an analogy for a package i have.
Well forgetting about the lines above, how do i get the path from
which miaw the command is called from?
Thanks
Kind Regards,
Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius
More information about the Python-list
mailing list