Initial Commit

This commit is contained in:
2018-05-19 02:20:19 +02:00
commit 8621248968
6554 changed files with 1121559 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
import sys
# simple argument echo script
for v in sys.argv[1:]:
print v

View File

@@ -0,0 +1,4 @@
import sys
# simple binary echo script
sys.stdout.write(sys.stdin.read())

View File

@@ -0,0 +1,5 @@
import sys, json
# simple JSON echo script
for line in sys.stdin:
print json.dumps(json.loads(line))

View File

@@ -0,0 +1,5 @@
import sys, json
# simple JSON echo script
for line in sys.stdin:
print line[:-1]

View File

@@ -0,0 +1,6 @@
# simple error script
def divide_by_zero():
print 1/0
divide_by_zero()

View File

@@ -0,0 +1,3 @@
import sys
exit_code = int(sys.argv[1]) if len(sys.argv) > 1 else 0
sys.exit(exit_code)

View File

@@ -0,0 +1,3 @@
a = 0
while(True):
a += 1