Well, I asked one of my Python friends and he gave me the answer. Feel free to delete/do whatever with post.