finding out absolute path to a file from python,os.path.abspath(__file__)