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

8 lines
203 B
Python
Raw Normal View History

2024-09-16 13:54:13 +02:00
#!/usr/bin/env micropython
import sys
2024-11-15 13:29:50 +01:00
import os
msg = sys.argv[0] + ": " + " ".join(sys.argv)
print(msg) # to stdout
#os.system("logger '"+ msg +"'") # to logs (/var/log/messages)