xrsh-buildroot/buildroot-v86/board/v86/rootfs_overlay/root/bin/helloworld.py

8 lines
203 B
Python
Executable File

#!/usr/bin/env micropython
import sys
import os
msg = sys.argv[0] + ": " + " ".join(sys.argv)
print(msg) # to stdout
#os.system("logger '"+ msg +"'") # to logs (/var/log/messages)