How do I launch Python SimpleHTTPServer on heroku?
问题 I want to launch Python HTTPServer on heroku. Note that this is no Python framework. The code snippet is attached below. How will I be able to launch this server on Heroku? I am able to run this server on my local machine. But I want it deployed on Heroku. Please provide insights. Server Code: import http.server from http.server import HTTPServer, BaseHTTPRequestHandler import socketserver import threading PORT = 5001 class myHandler(BaseHTTPRequestHandler): def do_GET(self): self.write(