MCPcopy Create free account
hub / github.com/ZiniuLu/Python-100-Days / RefreshScreenThread

Class RefreshScreenThread

Day01-15/Day14/chatclient.py:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5def main():
6
7 class RefreshScreenThread(Thread):
8
9 def __init__(self, client):
10 super().__init__()
11 self._client = client
12
13 def run(self):
14 while running:
15 data = self._client.recv(1024)
16 print(data.decode('utf-8'))
17
18 nickname = input('请输入你的昵称: ')
19 myclient = socket()

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected