Some stuff I screwed around with in python