O'Reilly logo

Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours by Christine Bresnahan, Richard Blum

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 21. Using Databases in Your Programming

What You’ll Learn in This Hour:

Image How to use a MySQL database server in your Python scripts

Image How to use a PostgreSQL database server in your Python scripts

One of the problems with Python scripts is persistent data. You can store all the information you want in your program variables, but at the end of the program, they just go away. There are times when you’d like for your Python scripts to be able to store data that you can use later. In the old days, storing and retrieving data from a Python script ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required