Python and databases – slides and example code

This was a short introduction on using python with databases that I
delivered to a group of visiting researchers.

Slides: python-databases.pdf
Code: github.com

Outline

  • Python modules for working with databases
  • SQLite
  • pyodbc
  • Client software
  • Create and connect to a database
  • Create a table
  • Inserting a row
  • Inserting multiple rows
  • Retrieving data
  • Updating data
  • Example using pyodbc
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s