get the absolute path of a running python script,os.path.abspath(__file__)