Import readline when possible to make the commaninterpreter UI nicer.
This commit is contained in:
parent
00833d507b
commit
9cb98572af
|
@ -531,6 +531,10 @@ def f8(x):
|
|||
|
||||
if __name__ == '__main__':
|
||||
import cmd
|
||||
try:
|
||||
import readline
|
||||
except:
|
||||
pass
|
||||
|
||||
class ProfileBrowser(cmd.Cmd):
|
||||
def __init__(self, profile=None):
|
||||
|
|
Loading…
Reference in New Issue