>
> from os.path import join
> #..
> imgfile=join(folder, x)
>
> --
> Thomas Wittek
>
thanx!
dn
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED]:
> 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: [EMAIL PROTECTED]
in my code i am iterating thru a list of filenames (like 'image1.jpg'
etc) and appending them to fully qualified directory names
for x in imagefilenames:
imgfile=folder+"/"+x
newimgfilenamelist.append(imgfile)
sothat finally i can get items like c:/mycode/image1.jpg etc from the
newi