mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
245 B
16 lines
245 B
|
7 years ago
|
from Jucipp import Terminal
|
||
|
|
|
||
|
|
t = Terminal();
|
||
|
|
|
||
|
|
def hello_world():
|
||
|
|
t.print("Hello, World!\n")
|
||
|
|
|
||
|
|
def clear():
|
||
|
|
t.clear()
|
||
|
|
|
||
|
|
def process(path):
|
||
|
|
return t.process("ls", path, True)
|
||
|
|
|
||
|
|
def async_print():
|
||
|
|
return t.async_print("Hello, World!")
|