Skip to content

Instantly share code, notes, and snippets.

@tejas-kr
Created October 20, 2017 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tejas-kr/c62deb0dc3223eff4b0450bcac9ac011 to your computer and use it in GitHub Desktop.
Save tejas-kr/c62deb0dc3223eff4b0450bcac9ac011 to your computer and use it in GitHub Desktop.
# Command line based image viewer
# made purely with python 2.7
from PIL import Image
from sys import argv
img = Image.open(argv[1])
img.show()
# Wondoers in Just 4 lines of code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment