human
finding out absolute path to a file from python
assistant
Here is some code to get the absolute path of a running python script

os.path.abspath(__file__)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.