I am trying to run a py file and I got the following error
IMPORT ERROR : NO MODULE NAMED "BASEHTTPSERVER"
The code included in py file is the following:
import BaseHTTPServer, SimpleHTTPServer
import ssl
httpd = BaseHTTPServer.HTTPServer(('localhost', 4443), SimpleHTTPServer.SimpleHTTPRequestHandler)
httpd.socket = ssl.wrap_socket (httpd.socket, certfile='server.pem', server_side=True)
httpd.serve_forever()
Thanks in advance Best Regards Alejandro Castan