open(os.path.join(os.path.dirname(__file__), '../www/bin/picture.png'), 'rb')

gert gert.cuykens at gmail.com
Sat May 16 14:56:59 CEST 2009


open(os.path.join(os.path.dirname(__file__),'../www/bin/picture.png'),
'rb')
how do you do this on windows (py3) so it still works on linux ?



More information about the Python-list mailing list