0

I cannot find a way to save my graphs and images. I have tried from

from PIL import Image
im = Image.fromarray()
im.save("your_file.jpeg")

but doesn't work!

adir abargil
  • 5,495
  • 3
  • 19
  • 29
Hassan
  • 15
  • 5

1 Answers1

0

Please format your code correctly, it is important for readability and python is intend-sensitive. Also, there is already a post for this problem:

How can I save an image with PIL?

MD98
  • 344
  • 2
  • 9
  • i do add ''' speech marks but it never formats. How do i do it properly? Also, this answer isn;t saving my graphs – Hassan Oct 22 '20 at 20:30