Implement the algorithm in python with some modifications

I need the implementation of a paper done in which you need to encrypt a picture using AES with using key from some other system. I can share full details if someone is interested in doing that. It is an assignment and needs to be done in a week.This assignment is related to Encryption and python.