This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivy.app import App | |
from kivy.clock import Clock | |
from kivy.lang import Builder | |
from kivy.properties import NumericProperty, ListProperty | |
from kivy.uix.widget import Widget | |
KV = ''' | |
#:import chain itertools.chain | |
#:import sin math.sin | |
#:import cos math.cos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import socket, sys, threading | |
# Simple chat client that allows multiple connections via threads | |
PORT = 9876 # the port number to run our server on | |
__version__ = "0.0.1" | |
class ChatServer(threading.Thread): |