Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Database Programming with Python
Rating: 4.3 out of 5(313 ratings)
1,560 students

Database Programming with Python

Learn how to integrate free and enterprise databases into your Python workflow including SQLite, MySQL, and SQL Server
Created byZak Ruvalcaba
Last updated 10/2018
English
English [Auto],

What you'll learn

  • Install and configure the tools required for working with Python and databases including development tools, drivers, and modules
  • Design a database within SQLite, MySQL, and SQL Server
  • Normalize a database including establishing keys and relationships
  • Use an RDBMS to manually add data to a database
  • Use the Structured Query Language (SQL) to write create, retrieve, update, and delete (CRUD) statements
  • Use Eclipse and Python to connect to a database and perform CRUD operations
  • Build out a full-functioning Help Desk application using Python and SQLite

Course content

5 sections74 lectures8h 21m total length
  • Introduction4:51

    Explore how Python connects to relational databases such as MySQL, SQL Server, and Sequel lite, and to NoSQL databases, using ODBC and Python's DB API.

  • The Importance of Data3:53

    Explore how data, as facts and statistics, informs decisions through analytics. See how relational and document databases store and enable Python-based access to large data sets.

  • Introduction to Python3:14

    Discover how data and databases relate to Python as a simple, open-source language. Learn Python basics, its history, and how to install, configure IDEs and tools for database development.

  • What can I do with Python?6:54

    Explore how Python powers web apps, data mining, robotics, AI, and desktop tools, with frameworks like Django and Flask, database access, and cross-platform GUI through Tkinter.

  • Introduction to Databases9:34

    Learn how databases work with python and perform CRUD operations to store data. Explore relational tables, relationships, and the filing cabinet analogy that underpins persistent storage.

  • Database and RDBMS Options6:55

    Compare relational databases with non-tabular data and review options like Microsoft SQL Server, MySQL, and Mongo TB, highlighting data structure, integrity, security, and development support.

  • SQLite and SQLite Studio3:46

    SQLite's self-contained, zero-configuration transactional database engine and its open-source code. Use Sequel light studio to connect, export, and manage databases across platforms.

  • MySQL and PhpMyAdmin12:03

    Explore MySQL and PhpMyAdmin in an open-source, cross-platform setup with Apache, PHP, and Perl, and learn to install and use the Zap all-in-one stack for local development.

  • SQL Server and Management Studio7:43

    Explore SQL Server, an enterprise-grade relational database management system, and use Management Studio to configure, secure, and administer databases with diagrams and stored procedures.

  • ODBC, DB API, and pyodbc4:20

    Explore how odbc provides a database-independent interface for Python apps, using a translation layer via drivers and db api wrappers like pyodbc to connect to MySQL, Oracle, and more.

  • Installing the Tools for this Course1:58

    Install Python, Eclipse, and the Hi-Def Python toolset, then configure PyODBC to connect to MySQL and other databases, including SQLite and SQL Server.

  • Installing Python4:01

    Install Python from python.org, choosing version 3.7 (or 3.6), run the installer, customize the installation location, and verify by a simple print hello world command before moving to Eclipse.

  • Installing Eclipse5:55

    Install Eclipse and set up the PyDev tools to enable Python development, following download options, mirrors, and installation steps to configure Eclipse for Python work.

  • Installing PyDev4:56

    Install and configure PyDev in Eclipse for Python development, enabling code completion, go-to-definition, debugging, remote debugging, and unit test integration.

  • Installing the pyodbc Module1:28

    Install the pyodbc module to bridge Python with ODBC drivers, using pip install pyodbc, then verify installation by checking the Python interpreter in your IDE.

  • Installing the MySQL Driver3:11

    Compare free and paid MySQL drivers for Python, follow Windows installation steps for the MySQL Connector or ODBC driver, and verify installation via ODBC data sources.

  • Installing the Microsoft ODBC Driver1:25

    Install Microsoft ODBC driver 17 for SQL Server on Windows, verify with the 64-bit ODBC Data Source Administrator, then connect Python to SQL Server using the driver.

Requirements

  • You should be able to use a PC at a beginner level
  • Have access to an Internet connection to download necessary software applications
  • Exercise files and support PowerPoint presentations are provided as additional resources at the beginning of each lecture.

Description

It's not often that you get to use a language as powerful and as versatile as Python. Python is a great language for writing web applications, cross-platform desktop applications, Artificial Intelligence software, shell scripts, perform scientific computation, games, and even connect to and work with a myriad of relational and document-oriented database solutions. This course gets you up and running with using Python to program against relational and document-oriented databases such as SQLite, MySQL, SQL Server, and MongoDB. It teaches you the basic concepts of relational data, databases, tables, SQL, and walks you through the code required to connect to these databases and perform CRUD (create, retrieve, update, and delete) operations within them using Python. When you're finished with this course, you'll have a solid foundation to go out and start building your own database applications using Python.

Who this course is for:

  • Beginner to intermediate Python developers curious about integrating databases into their workflows.
  • This course is not intended for experienced Python developers already familiar with relational and object-oriented database development with Python.