mirror of
https://github.com/kennethreitz-archive/plac.git
synced 2026-06-05 15:40:17 +00:00
12 lines
246 B
Python
12 lines
246 B
Python
from __future__ import with_statement
|
|
import plac, plac_ext
|
|
|
|
def main(*args):
|
|
yield args
|
|
|
|
if __name__ == '__main__':
|
|
proc = plac_ext.SyncProcess(['syncproc.py'])
|
|
while True:
|
|
inp = raw_input(proc.recv())
|
|
proc.send(inp)
|