I like the ease of use of Python's SimpleHTTPServer but...
I'd like to launch it from what I'm calling a "fake directory" - that is, a directory that only exists from the server's point of view (does not actually persist on the computer), and ceases to exist when the python process running the server stops. I could also do with a temporary directory, but I want to guarantee that this directory is deleted after (so I don't accumulate files every time I run this and have to think about manually erasing them).
Does anyone know what is the best way to do this?