adapted for iOS pythonista
added link to pythonista