Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: peteforde on December 05, 2015, 07:14:29 PM

Title: SimpleHTTPServer
Post by: peteforde on December 05, 2015, 07:14:29 PM
I would like to create an instance of SimpleHTTPServer running inside of the Photoscan app context. This would allow me to accomplish what most folks here who frequently ask about launching startup scripts are actually trying to achieve, which is a request/response architecture.

However, I'm not getting far:

>>> import SimpleHTTPServer
Traceback (most recent call last):
  File "<console>", line 1, in <module>
ImportError: No module named 'SimpleHTTPServer'


I'm not really a Python dev; it's likely something I'm missing. Anyone have any ideas?