mirror of
https://github.com/SantaSpeen/winConnect.git
synced 2025-07-01 23:47:22 +00:00
17 lines
374 B
Python
17 lines
374 B
Python
from winConnect import WinConnectClient
|
|
|
|
connector = WinConnectClient('test')
|
|
|
|
def console():
|
|
with connector as conn:
|
|
while True:
|
|
i = input(":> ")
|
|
if i == "exit":
|
|
break
|
|
conn.send_data(i)
|
|
data = conn.read_pipe()
|
|
print(f"({type(data)}) {data=}")
|
|
|
|
if __name__ == '__main__':
|
|
console()
|