Modifying for Pythonista

Please, merge this one if you're willing to.