xiuos/Ubiquitous/RT-Thread_Fusion_XiUOS/micropython/tools/mpy-cross/hellortt.py

13 lines
202 B
Python

# import os
class HelloRtt:
def __repr__(self):
self.__call__()
return ""
def __call__(self):
print("hello world!!")
print("hello RTT")
hello = HelloRtt()