Qwiklabs Assessment: Scale and convert images using PIL by coursera

preview_player
Показать описание
#trending #viral #coursera #courseracertificate #skills #python

Subscribe free!!!
click here to subscribe for more videos-

Follow me on Twitter-

Background music from-
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Music promoted by Audio Library

• Lights – Sappheir...
Рекомендации по теме
Комментарии
Автор

Hi, Tisha,


I followed your code and followed all the steps in Qwiklabs including these last three steps and finally this error occurred. How to fix this error?


Qwiklabs last 3 steps: 


- Once the interactive shell opens, to import the Image module from PIL: 


 from PIL import Image 


- To open any image from the folder:


 img =



- To view the format and size of the image:


 img.format, img.size



The Error Occurred:


File "<stdin>", line 1, in <module> 

NameError: name 'img' is not defined

rajanghadi
Автор

there is a problem while saving the file by pressing "ctrl+o enter ctrl+x" as it opens my system file manager and ask me to select the file. plz help

harshvardhanshandilya