Python Wrapper along with jpg file