Connecting to a data source

First, the term data source indicates a given method of accessing a database from a server. Recall from the previous chapter that the database used by our web project is named LibraryDatabase. There is a file with the same name within the project folder, which is the data source for that database.

Throughout this chapter, we will be working with the corresponding folder in the code repository Chapter09/DatabaseTutorial. Go ahead and import the folder into your PyCharm workspace. As the first step of the database management process, we will learn how to import a data source into a PyCharm project:

  1. In general, if the data source file you'd like to work with is not in your current project, then open up the Database ...

Get Hands-On Application Development with PyCharm now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.