Consider:
from PIL import Image
mac = Image.open('example.jpg')
type(mac)
mac.show()
I have displayed some code as an example and was wondering how to open a file such as 'example.jpg' from GitHub.
Here is the group of files I am trying to open from GitHub:
https://i.stack.imgur.com/AXhtm.png
And this is the error I am currently getting
https://i.stack.imgur.com/fMJG7.png
Is there a way I can access these files from Visual Studio Code? Does it have something to do with changing my current directory which is currently set as the following?