python simplified