Command line tool in python in a fixed root directory -
I would like to install my dragon application as a command line tool that should work inside the fully installed directory (for example C:
Thank you
Not sure that this is what you are doing but This can be done by doing this.
import os dir_of_current_module = os.path.dirname (__ file__)
Once you know the deer, you have to do it chdir () Or what you want. Remember: you are not always allowed to give up stuff.
Comments
Post a Comment