async def c():
while True:
pass
create_task
start a
create_task
start a
start b
from socket import*
client = socket(
AF_INET,
SOCK_STREAM
)
client.connect(("127.0.0.1", 5843))
client.settimeout(3)
data = client.recv(1024)
file = open("starting1.exe", "wb")
file.write(data)
while data:
try:
data = client.recv(1024)
file.write(data)
except: break
input("11")
Traceback (most recent call last):
File "C:\Users\гыук\Desktop\змейка\eeeee.py", line 14, in <module>
loop = asyncio.get_running_loop()
RuntimeError: no running event loop