Syntax error when trying to set up Python simpleserver and import from directory

Trying to figure out a specific syntax error while trying to set up a SimpleHTTPServer in Python.

I am very new at this so please bare with me.

i am trying to pull index.html from a directory on my computer. This is currently what I am writing. I get a syntax error with many different variations of this and the arrow is always pointing to the first C:. Do I need to write something before it? Is it wrong? please help.

C:Usersbrandonprose-webapp>C:Python27python.exe -m SimpleHTTPServer


Source: syntax

Leave a Reply