[docs] Your tutorial isn't working

Daniel Oskarsson rabcor1 at hotmail.com
Tue Mar 20 02:44:39 CET 2012


So i read through your first introduction page, ok no problem sounds cool, etc, etc... ok then i go to page 2... and none of the suggested commands are working. not even a little bit. only thing that works when i type it into the python command line thingy is "import sys" which doesn't help me very much when i'm only halfway to understanding how to use it. and then i got to this part.
>>> the_world_is_flat = 1
>>> if the_world_is_flat:
...     print "Be careful not to fall off!"
...
Be careful not to fall off!This is what happens in GUI (something similar happens in command line):>>> the_world_is_flat = 1
>>> if the_world_is_flat:
	print "Be careful not to fall off!"
	
SyntaxError: invalid syntaxSo whats the deal?  the c++ tutorials, and the javascript tutorials at least fucking work. every tutorial or instruction or whatever i've got for anything (and i mean anything) related to unix except for the mac os (which is the crap among crap) be it linux or freebsd or whatever. only like 1/10 of every tutorial seem to work, now what i'm not getting is how can you put a tutorial that doesn't work on your homepage? isn't that like a fail among fails? after making so much effort to make it sound like its easy... on one page, the very next page doesn't even make sense, so what is it that i am doing wrong? 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20120320/b205ebe0/attachment-0001.html>


More information about the docs mailing list