From f8f21db233b8af7e49555e2b9f846d87aa39d526 Mon Sep 17 00:00:00 2001 From: Yrod0200 Date: Tue, 8 Oct 2024 16:26:24 -0300 Subject: [PATCH] added PIP installation + solved things --- terminal/client.py | 13 ++++++++++--- terminal/dist/purplemoon-0.1.0a0.tar.gz | Bin 0 -> 3212 bytes terminal/purplemoon.egg-info/PKG-INFO | 3 +++ terminal/purplemoon.egg-info/SOURCES.txt | 9 +++++++++ .../purplemoon.egg-info/dependency_links.txt | 1 + terminal/purplemoon.egg-info/entry_points.txt | 3 +++ terminal/purplemoon.egg-info/requires.txt | 2 ++ terminal/purplemoon.egg-info/top_level.txt | 2 ++ terminal/server.py | 15 +++++++++++---- terminal/setup.py | 17 +++++++++++++++++ 10 files changed, 58 insertions(+), 7 deletions(-) create mode 100644 terminal/dist/purplemoon-0.1.0a0.tar.gz create mode 100644 terminal/purplemoon.egg-info/PKG-INFO create mode 100644 terminal/purplemoon.egg-info/SOURCES.txt create mode 100644 terminal/purplemoon.egg-info/dependency_links.txt create mode 100644 terminal/purplemoon.egg-info/entry_points.txt create mode 100644 terminal/purplemoon.egg-info/requires.txt create mode 100644 terminal/purplemoon.egg-info/top_level.txt create mode 100644 terminal/setup.py diff --git a/terminal/client.py b/terminal/client.py index a725bc0..477f9e6 100644 --- a/terminal/client.py +++ b/terminal/client.py @@ -1,6 +1,15 @@ import socket import pyaudio import threading +import sys + + +resp = input("Would you like to start from this file? (Y/n)" ) + +if not (resp.lower() == "y" or resp == ""): + sys.exit(1) +else: + pass IP = input("Enter the IP you want to connect: ") PORT = 6100 @@ -25,6 +34,7 @@ def is_utf_8(data): return False + def start_connection(): try: uname_input = main_socket.recv(1024).decode('utf-8') @@ -93,6 +103,3 @@ def write_data(): print(f"ERROR: {e}") - -if __name__ == "__main__": - start_connection() diff --git a/terminal/dist/purplemoon-0.1.0a0.tar.gz b/terminal/dist/purplemoon-0.1.0a0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..290ec57b4ed68a796347d68c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