[PATCH] python: Add inquire()