-
Notifications
You must be signed in to change notification settings - Fork 5
WEB
Dmitry Ponyatov edited this page Aug 19, 2019
·
5 revisions
#################################################################### ввод/вывод
class IO(Frame): pass
############################################################### сетевые функции
class Net(IO): pass
################################################################# web-интерфейс
class Web(Net):
def __init__(self,V):
Net.__init__(self, V)
self.flask = __import__('flask')
def eval(self,ctx):
app = self.flask.Flask(self.val)
app.run(host='127.0.0.1',port=8888,debug=True)