file / module / package - import problem

EuGeNe Van den Bulke eugene.vandenbulke at gmail.com
Thu May 31 05:39:25 EDT 2007


aspineux wrote:
> import os.path
> 
> file=open(os.path.join(os.path.dirname(__file__), 'hauteur.yaml'))

Thanks that worked ;)



More information about the Python-list mailing list