SHARE
TWEET

Untitled

a guest May 19th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os
  2. from tkinter import Tk
  3. from tkinter import filedialog
  4.  
  5. from PIL import Image
  6.  
  7.  
  8. toplevel = Tk()
  9. toplevel.withdraw()
  10. filename = filedialog.askopenfilename()
  11.  
  12. if os.path.isfile(filename):
  13.     im = Image.open(filename,"r")
  14.     im.rotate(45).show() ###tutaj cos zmienic##
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top