Is there any way to set the directory where you want to start a SimpleHTTPServer or BaseHTTPServer?
Doing it without changing directory on Linux:
bash -c "cd /your/path; python -m SimpleHTTPServer"