add python shortcut for format