[Tutor] need help

Alex Clark aclark at aclark.net
Thu Nov 1 22:34:12 CET 2012


On 2012-11-01 21:24:52 +0000, Matthew Ngaha said:

> working through my tutorial ive been told to set up a simple webserver. 
> i can't even get started because the 1st line of code its asked me to 
> do fails with a syntax error. here's the code:
>  
> python3 -m http.server
>  
> any ideas what is going wrong? it asked me to make some simple .html 
> files, then in the same directory run that line of code. I havent any 
> experience with web servers, so i might not understand advanced 
> instructions:(


Works for me with 3.3:


aclark at Alexs-MacBook-Pro:~/ > python3.3 -m http.server
Serving HTTP on 0.0.0.0 port 8000 ...



> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor


-- 
Alex Clark · https://www.gittip.com/aclark4life/




More information about the Tutor mailing list