Randomly change the prompt in the Python interpreter
Randomly change the prompt in the Python interpreter Question: It’s kind of boring to always see the >>> prompt in Python. What would be the best way to go about randomly changing the prompt prefix? I imagine an interaction like: This is a tobbaconist!>> import sys Sorry?>> import math Sorry?>> print sys.ps1 Sorry? What?>> Asked …
Total answers: 4