Dynamic realtime profile ReadMe linked with spotify
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from http.server import BaseHTTPRequestHandler
|
|
from datetime import datetime
|
|
|
|
class handler(BaseHTTPRequestHandler):
|
|
|
|
def do_GET(self):
|
|
self.send_response(200)
|
|
self.send_header('Content-type', 'text/plain')
|
|
self.end_headers()
|
|
self.wfile.write(str(datetime.now().strftime('%Y-%m-%d %H:%M:%S')).encode())
|
|
return
|