3 import sys, getopt, readline
7 out.write("usage: pdm-repl [-h] SOCKET\n")
9 opts, args = getopt.getopt(sys.argv[1:], "h")
17 cl = pdm.cli.replclient(args[0])
25 line = raw_input("% ")
29 sys.stdout.write(cl.run(buf))
34 compile(line, "Nought", "eval")
38 sys.stdout.write(cl.run(line))