O'Reilly logo

Core Python Applications Programming, Third Edition by Wesley J. Chun

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

Chapter 6. Database Programming

Did you really name your son Robert’); DROP TABLE Students;-- ?

—Randall Munroe, XKCD, October 2007

In this chapter...

Introduction

The Python DB-API

ORMs

Non-Relational Databases

Related References

In this chapter, we discuss how to communicate with databases by using Python. Files or simplistic persistent storage can meet the needs of smaller applications, but larger server or high-data-volume applications might require a full-fledged database system, instead. Thus, we cover both relational and non-relational databases as well as Object-Relational Mappers (ORMs).

6.1. Introduction

This opening section will discuss the need for databases, present the Structured Query Language (SQL), and introduce readers ...

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