What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-16 23:11:16
This is the challenge section of the lab where you'll write a script that uses PIL to perform the following operations: Iterate through each file in the folder
import os from PIL import Image path = "\\images\\" dst = "\\opt\\icons\\" current_dir = os.getcwd() images = os.listdir(current_dir+path) print(images) for img in images: im = Image.open(current_dir+path+img) #im.show() ... Add solution -
Python 2021-11-07 12:44:18
how to use python to take screenshot
please check out my video also - https://www.youtube.com/watch?v=7Tr0mEQhc3M&t=2s please subscribe my channel - https://bit.ly/2Me2CfB # importing the ImageGrab function from PILLOW (PIL) Module from PIL import ImageGrab # to take the screenshot of ... Add solution
Best helpers
Ranking is empty