Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Application Development with PyCharm

You're reading from   Hands-On Application Development with PyCharm Accelerate your Python applications using practical coding techniques in PyCharm

Arrow left icon
Product type Paperback
Published in Sep 2019
Publisher Packt
ISBN-13 9781789348262
Length 494 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Quan Nguyen Quan Nguyen
Author Profile Icon Quan Nguyen
Quan Nguyen
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Section 1: The Basics of PyCharm
2. Introduction to PyCharm - the Most Popular IDE for Python FREE CHAPTER 3. Installing and Configuring PyCharm 4. Section 2: Improving Your Productivity
5. Customizing Interpreters and Virtual Environments 6. Editing and Formatting with Ease in PyCharm 7. Version Control with Git in PyCharm 8. Seamless Testing, Debugging, and Profiling 9. Section 3: Web Development in PyCharm
10. Web Development with JavaScript, HTML, and CSS 11. Integrating Django in PyCharm 12. Understanding Database Management with PyCharm 13. Building a Web Application in PyCharm 14. Section 4: Data Science with PyCharm
15. Turning on Scientific Mode 16. Dynamic Data Viewing with SciView and Jupyter 17. Building a Data Pipeline in PyCharm 18. Section 5: Plugins and Conclusion
19. More Possibilities with PyCharm Plugins 20. Future Developments 21. Assessments 22. Other Books You May Enjoy

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 panel by going to View | Tool Windows | Database and click on the + icon within the window, as illustrated in the following screenshot...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime