Jump to content
Useful Stuff - Sqlalchemy Tutorial
1 reply to this topic
Posted 25 September 2013 - 09:20 PM
Hi all - one thing I found odd in the book was that it didn't go far enough into Python, and spent time in Android and Web programming. All good stuff, but not really the most important topics to learn for us n00bs.
I had problems relating the OO aspects of Python - a great selling point to the language and one well-covered in the book - with the SQL database structure that's covered (again, very well). Problem is of course, how do you read records from a SQL-type database and refer to them as objects.
I've found SqlAlchemy to be the 'bridge' in the middle. It's mentioned in the HF Python book, but not covered at all. IMHO this should be there, rather than Android. A good tutorial for SQL Alchemy is here ...
That's after the installation of course: try this http://docs.sqlalche...ml#installation
I couldn't get PIP or easy-install to work, but the 'zip' one worked for me.
BTW, I found some small bugs in the SqlAlchemy tutorial. I've commented there (on that page) . Clue - it's the date format.
Hope this helps other budding Python-esques, and see you in the job queue ... If someone has a better SqlAlchemy tutorial, I'll be glad to hear it.
Posted 27 September 2013 - 11:04 AM
Thanks for this comment.
It is always a toss-up what goes in and what doesn't when writing any book. Some people want to see web stuff, and others want databases. It's a balancing act, which authors don't always get right.
I'm currently working on the second edition of Head First Python (due out around the end of 2013... assuming I have no more delays). I've completely changed the structure and order of the book, as well as a lot of the content. Your comments on what should be in there have been noted.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users