11 lines
225 B
Python
Executable file
11 lines
225 B
Python
Executable file
#!/usr/bin/python
|
|
|
|
from sys import argv
|
|
from http.server import HTTPServer
|
|
from srvuser import srvuser
|
|
|
|
|
|
# Create and run server
|
|
print('Starting server')
|
|
httpd = HTTPServer(('localhost', 1337), srvuser)
|
|
httpd.serve_forever()
|