Show More
@@ -1,7 +1,8 b'' | |||||
1 | $ cat > echo.py <<EOF |
|
1 | $ cat > echo.py <<EOF | |
2 | > #!$PYTHON |
|
2 | > #!$PYTHON | |
3 | > from __future__ import print_function |
|
3 | > from __future__ import absolute_import, print_function | |
4 |
> import os |
|
4 | > import os | |
|
5 | > import sys | |||
5 | > try: |
|
6 | > try: | |
6 | > import msvcrt |
|
7 | > import msvcrt | |
7 | > msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) |
|
8 | > msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) |
General Comments 0
You need to be logged in to leave comments.
Login now