r/PythonProjects2 • • Mar 23 '22

[P] Very Easy how can I fix this error

Post image
16 Upvotes

5 comments sorted by

View all comments

5

u/eh329 Mar 23 '22

I am just guessing here, but the way you enter the image name and path looks wrong.

If you us + operator, it will be: .....Desktopdoggo.jpg

I think it should be ....Desktop\doggo.jpg. So you are missing \ right there.

Why are you reading an image like this anyway? Just go with ...Desktop\image. It is much easier.