Jul-15-2018, 06:23 PM
Have already taken image string out of
So you can not use
src
.So you can not use
image["src"]
on image string.>>> import os >>> >>> image = 'img_chania.jpg' >>> root = 'E:/div_code/img' >>> os.path.join(root, image) 'E:/div_code/img\\img_chania.jpg'