Getting Directory of Command Line Entry Point For Packages

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Sat Nov 13 05:54:31 EST 2021


Greetings,

This is what I am trying to do:
How to get the getcwd of the directory of where the command is run and not
that
of the file where the cli entrypoint is found. Having the user enter the
absolute path as a cli
argument does not sound nice.

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