Searching in python/python-terminal