Trying some more Python stuff plus some style updates