Python: cmd execute last command while prompt and empty line -
the question may not clear enough get.
let me clear in details. i'm using python cmd library implement own cli framework , when hit enter button without typing command executes last command. not 1 wanna do.
mycli~: cmd --args executes command execution stops mycli~:[hit enter button]
then execute again cmd --args. want go down new line.
def emptyline(self): pass
will fine!
Comments
Post a Comment