We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1abb06 + 0d9741e commit c645f53Copy full SHA for c645f53
1 file changed
pythonpy/__main__.py
@@ -1,11 +1,13 @@
1
#!/usr/bin/env python2
2
from __future__ import (unicode_literals, absolute_import,
3
print_function, division)
4
+import sys
5
+reload(sys)
6
+sys.setdefaultencoding('utf-8')
7
from signal import signal, SIGPIPE, SIG_DFL
8
signal(SIGPIPE,SIG_DFL)
9
10
import argparse
-import sys
11
import json
12
import re
13
from collections import Iterable
0 commit comments