do not repoen stdin, stderr, stdout
parent
ec03ffe810
commit
9eb7da519b
|
@ -12,9 +12,9 @@ import locale # Ensures that subsequent open()s
|
||||||
locale.getpreferredencoding = lambda: 'UTF-8' # are UTF-8 encoded.
|
locale.getpreferredencoding = lambda: 'UTF-8' # are UTF-8 encoded.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.stdin = open('/dev/stdin', 'r')
|
#sys.stdin = open('/dev/stdin', 'r')
|
||||||
sys.stdout = open('/dev/stdout', 'w')
|
#sys.stdout = open('/dev/stdout', 'w')
|
||||||
sys.stderr = open('/dev/stderr', 'w')
|
#sys.stderr = open('/dev/stderr', 'w')
|
||||||
|
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue