Skip to content

Instantly share code, notes, and snippets.

View 343max's full-sized avatar
🌻

Max von Webel 343max

🌻
View GitHub Profile
@343max
343max / image.py
Created June 17, 2013 14:41 — forked from phughes/image.py
import os.path as path
import string
import argparse
import glob
import re
def basename(filename):
base = filename
if filename.find('@2x') > 0:
base = filename[:filename.find('@2x')]