[+] add examples

This commit is contained in:
2025-03-12 14:41:18 +03:00
parent 8f16c2e113
commit 1735e81b42
7 changed files with 95 additions and 16 deletions

View File

@@ -0,0 +1,17 @@
from winConnect import WinConnectClient
connector = WinConnectClient('test')
def console():
conn = connector.connect()
while True:
i = input(":> ")
if i == "exit":
break
conn.send_data(i)
data = conn.read_pipe()
print(f"({type(data)}) {data=}")
conn.close()
if __name__ == '__main__':
console()