[python] Find current directory and file's directory