Book Image

Hands-On Application Development with PyCharm - Second Edition

By : Bruce M. Van Horn II, Quan Nguyen
5 (1)
Book Image

Hands-On Application Development with PyCharm - Second Edition

5 (1)
By: Bruce M. Van Horn II, Quan Nguyen

Overview of this book

In the quest to develop robust, professional-grade software with Python and meet tight deadlines, it’s crucial to have the best tools at your disposal. In this second edition of Hands-on Application Development with PyCharm, you’ll learn tips and tricks to work at a speed and proficiency previously reserved only for elite developers. To achieve that, you’ll be introduced to PyCharm, the premiere professional integrated development environment for Python programmers among the myriad of IDEs available. Regardless of how Python is utilized, whether for general automation scripting, utility creation, web applications, data analytics, machine learning, or business applications, PyCharm offers tooling that simplifies complex tasks and streamlines common ones. In this book, you'll find everything you need to harness PyCharm's full potential and make the most of Pycharm's productivity shortcuts. The book comprehensively covers topics ranging from installation and customization to web development, database management, and data analysis pipeline development helping you become proficient in Python application development in diverse domains. By the end of this book, you’ll have discovered the remarkable capabilities of PyCharm and how you can achieve a new level of capability and productivity.
Table of Contents (24 chapters)
1
Part 1: The Basics of PyCharm
4
Part 2: Improving Your Productivity
9
Part 3: Web Development in PyCharm
15
Part 4: Data Science with PyCharm
19
Part 5: Plugins and Conclusion

Working with run configurations

Run configurations in PyCharm allow you to set up different ways to run your programs from the IDE. The heart of the run configurations is a cluster of blue buttons toward the top of the main window. Follow the arrow in Figure 3.33:

Figure 3.33: There are several run buttons at the top of the screen along with a drop-down list that allows you to work with various run configurations

Figure 3.33: There are several run buttons at the top of the screen along with a drop-down list that allows you to work with various run configurations

Since we have the manually-created project already open from earlier, why don’t we continue exploring using that project? That cluster of buttons I pointed to in Figure 3.33 consists of a Run button, a Debug button, and a dropdown that lets you set and manage your run configurations. When we imported the project, it generated a run configuration called Current File.

With this set in the drop-down menu, the file in the Focused tab will be executed when you click either the run or debug button:

  1. This is the regular Run button. It...