Re: usage of file separator



devnew@xxxxxxxxx:
for x in imagefilenames:
imgfile=folder+"/"+x
newimgfilenamelist.append(imgfile)

[..] how do i make it work on other os?

from os.path import join
#..
imgfile=join(folder, x)

--
Thomas Wittek
Web: http://gedankenkonstrukt.de/
Jabber: streawkceur@xxxxxxxxxxxxxxxxxx
GPG: 0xF534E231
.