from cmd import Cmd class MyPrompt(Cmd) prompt = 'pb> ' intro = "Welcome! Type ? to list commands" def do_exit(self, inp) print("Bye")
確定! 回上一頁