mirror of
https://github.com/bvanroll/rpiRadio.git
synced 2025-08-31 13:02:44 +00:00
Initial Commit
This commit is contained in:
5
ProjectNow/NodeServer/node_modules/python-shell/test/python/echo_args.py
generated
vendored
Executable file
5
ProjectNow/NodeServer/node_modules/python-shell/test/python/echo_args.py
generated
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
import sys
|
||||
|
||||
# simple argument echo script
|
||||
for v in sys.argv[1:]:
|
||||
print v
|
4
ProjectNow/NodeServer/node_modules/python-shell/test/python/echo_binary.py
generated
vendored
Executable file
4
ProjectNow/NodeServer/node_modules/python-shell/test/python/echo_binary.py
generated
vendored
Executable file
@@ -0,0 +1,4 @@
|
||||
import sys
|
||||
|
||||
# simple binary echo script
|
||||
sys.stdout.write(sys.stdin.read())
|
5
ProjectNow/NodeServer/node_modules/python-shell/test/python/echo_json.py
generated
vendored
Executable file
5
ProjectNow/NodeServer/node_modules/python-shell/test/python/echo_json.py
generated
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
import sys, json
|
||||
|
||||
# simple JSON echo script
|
||||
for line in sys.stdin:
|
||||
print json.dumps(json.loads(line))
|
5
ProjectNow/NodeServer/node_modules/python-shell/test/python/echo_text.py
generated
vendored
Executable file
5
ProjectNow/NodeServer/node_modules/python-shell/test/python/echo_text.py
generated
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
import sys, json
|
||||
|
||||
# simple JSON echo script
|
||||
for line in sys.stdin:
|
||||
print line[:-1]
|
6
ProjectNow/NodeServer/node_modules/python-shell/test/python/error.py
generated
vendored
Executable file
6
ProjectNow/NodeServer/node_modules/python-shell/test/python/error.py
generated
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
# simple error script
|
||||
|
||||
def divide_by_zero():
|
||||
print 1/0
|
||||
|
||||
divide_by_zero()
|
3
ProjectNow/NodeServer/node_modules/python-shell/test/python/exit-code.py
generated
vendored
Executable file
3
ProjectNow/NodeServer/node_modules/python-shell/test/python/exit-code.py
generated
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
import sys
|
||||
exit_code = int(sys.argv[1]) if len(sys.argv) > 1 else 0
|
||||
sys.exit(exit_code)
|
3
ProjectNow/NodeServer/node_modules/python-shell/test/python/infinite_loop.py
generated
vendored
Executable file
3
ProjectNow/NodeServer/node_modules/python-shell/test/python/infinite_loop.py
generated
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
a = 0
|
||||
while(True):
|
||||
a += 1
|
Reference in New Issue
Block a user