O'Reilly logo

Practical Business Intelligence by Ahmed Sherif

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

Connecting Python to Microsoft SQL Server

Before we can begin to visualize our data within Python, we must first establish a connection to Microsoft SQL Server from Python. As in Chapter 2, Web Scraping, we will continue to use PyCharm as our IDE of choice for development. There are many IDEs that are available free of use to develop Python projects. If you choose to develop with another tool, you should still be able to follow along in this chapter.

Starting a new project in PyCharm

Once you have PyCharm started, you may have your previous project from Chapter 2, Web Scraping, still open. We wish to separate the projects, so we will close this project by selecting File and Close Project, as seen in the following screenshot:

Next, we can start ...

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