Guest User

Untitled

a guest
May 19th, 2019
70
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