Here's how to use the os
module to get the directory of the file the command
is executed in
os.path.dirname(os.path.realpath(__file__))
From http://stackoverflow.com/questions/5137497/find-current-directory-and-files-directory
Here's how to use the os
module to get the directory of the file the command
is executed in
os.path.dirname(os.path.realpath(__file__))
From http://stackoverflow.com/questions/5137497/find-current-directory-and-files-directory