Probably you have problem with special meaning of \
in text – like \t
or \n
Use \\
in place of \
imgloc = "F:\\Kyle\\Desktop\\Coinjar\\Test images\\ten.png"
or use prefix r''
(and it will treat it as raw
text without special codes)
imgloc = r"F:\Kyle\Desktop\Coinjar\Test images\ten.png"
EDIT:
Some modules accept even /
like in Linux path
imgloc = "F:/Kyle/Desktop/Coinjar/Test images/ten.png"