Tutorials are no match for Pairing
This is why documentation and learning by yourself is never as good as having actual programmers pair with you. I’m working form the pylons reference documentation, which has a number of tutorials in it. They would be nice, but they’re just so wrong.
I suspect that most of section 3.2 is wrong and/or broken

Note the explanatory text here. It describes the three import lines. Of which we have the second only. And it’s not used. We don’t have an import in this code for ’sa’, but we use sa.Column and not Column. So the second import is essentially useless. The only exception is where it uses Table. I replaced it with sa.Table and it worked fine. The import was a waste.
But where does sa come from? Well, if you have the right version of pylons then it imports sqlalchemy as sa at the top of the file. If you are not using the right version, it does not and your code won’t work at all until you import sqlalchemy as sa.
Next paragraph begins by describing code that does not exist in the sample. The last half of the paragraph is right.
Does this mean the pylons people are dumb? No. It means that the documentation hasn’t kept up even with itself. Over time it becomes self-inconsistent because it can. It takes vigilance to keep a documented truth in one release from turning into a lie in the next. That’s why you need noobs like me to come along and find out that the docs are all messed up.
Once a document is wrong you doubt the rest of it. It asks me to add code that is similar to code added by paster, but slightly different. Do I do that? Or is the documentation wrong again? If it doesn’t work, what do I do as a novice? If it does work, then does that mean the the code paster added is wrong and the tutorial is right? Do I need to undo paster work each time? Hmmmm.
Documents are an ongoing expense. They have to be constantly validated and verified. This is why agile shops tend to use pairing and prefer documents that self-verify (tests). Pylons is nice stuff, but you need to learn it from somewhere.
Pylons guys: please fix these. This is from the quickwiki tutorial. I love python and am eager to go further with pylons, but the tutorial is hard on the newb.
