This commit is contained in:
Xargana 2025-05-16 19:28:37 +03:00
parent 54e78333dd
commit 7ba3bdcda1
9 changed files with 40 additions and 39 deletions

View file

@ -1 +0,0 @@
#a

View file

@ -0,0 +1,2 @@
def get_output():
return "Hello from module!"

View file

@ -1,2 +0,0 @@
def get_text():
return "Hello, world!"

View file

@ -1,11 +0,0 @@
import socket
def get_ip():
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect(("8.8.8.8", 80))
ip = s.getsockname()[0]
s.close()
except Exception:
ip = "No Connection"
return f"IP: {ip}"