I'm trying to print out the filename of files in my folder but unfortunately when I print it out it comes out as - Image is ././Image_crop 4.jpg - how do I get rid of the ././ in front of the file? I'm new to python so please help!
for filename in glob.glob(os.path.join(".", '*.jpg')):
y = os.path.join(".", filename)
print "Image is ", y