Jun-26-2024, 09:19 PM
(This post was last modified: Jun-26-2024, 09:19 PM by ebn852_pan.)
Error:ERROR!
Traceback (most recent call last):
File "<main.py>", line 13, in <module>
File "<main.py>", line 11, in mypicture
AttributeError: 'str' object has no attribute 'open'
=== Code Exited With Errors ===
My online compiler showed me this. But the class Image module which is in my chrome has an open method. So this is one thought to bring up when working with online compilers. The module will ask for one position argument to give. Then the output.
Programs are like instructions or rules. Learning it gets us closer to a solution. Desired outcome. Computer talk.