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

Hands-On Application Development with PyCharm: Accelerate your Python applications using practical coding techniques in PyCharm

eBook
€17.99 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Table of content icon View table of contents Preview book icon Preview Book

Hands-On Application Development with PyCharm

Introduction to PyCharm - the Most Popular IDE for Python

Welcome to Hands-On Application Development with PyCharm, and congratulations on taking the first step in exploring the powerful and dynamic functionalities that the most popular Python IDE, PyCharm, provides. Throughout this book, we will be familiarizing ourselves with the general interface of PyCharm, various customizations of PyCharm's functionalities to best support different types of projects, and options to integrate additional features into a base Python project.

This chapter first talks about the specifics of IDEs in programming and an overview of what PyCharm is and what its general options provide. We will then discuss the usage of PyCharm among the Python community and outline several reasons for PyCharm's popularity in the community. This discussion will help us focus on why PyCharm is such a great...

The background of PyCharm

Let's begin by discussing the topic of the book—PyCharm. First, we will discuss the Python language as it is the only reason why you would choose to use PyCharm in the first place. After this, it is important to start the conversation about PyCharm by pointing out the fact that there are considerable discussions surrounding the question of whether it is appropriate to use an IDE for Python programming.

Unlike many other programming languages, Python (as you already know) can be edited using just a simple text editor, due to the simplicity and readability of the code. You can then instruct a Python interpreter to execute a text file containing Python code and a Python program is thus complete.

Why would we want to use a heavy and complex IDE for Python to achieve the same result? In the following subsections, we will address this question by...

PyCharm – an essential part of the Python community

In 2017, the Python Developers Survey (conducted by the Python Software Foundation and JetBrains) found that PyCharm is indeed the most popular development tool among all Python programmers in terms of editors and IDEs.

As observed from the Editors and IDEs section in the survey, both editions of PyCharm top the result poll for the question—what is the main editor you use for your current Python development? The results of the survey outlined that 17% of all developers used the Professional Edition and 15% used the Community Edition.

As we mentioned earlier, two of the largest subgroups in the Python community are web developers and scientific programmers. If we looked at editor/IDE use in these subgroups...

Differentiating PyCharm from other editors/IDEs

We laid out several features of PyCharm in earlier sections, but it might be beneficial to repeat some of them here in comparison to other editors and IDEs in order to truly highlight the differences among them. We will start by looking at PyCharm and another powerful Python IDE (Spyder) side by side, since they generally set out to solve the same set of problems, and therefore, hold significant similarities.

In general, Spyder, like many other editors and IDEs, is a lightweight development environment. This results in less memory space, fewer system resources, and better speed in starting the software. PyCharm, on the other hand, comes as a fully supported IDE with a large set of functionalities, which will be heavier in storage and slower in execution.

In terms of support, Spyder has a simpler UI (which resembles that of MATLAB...

Understanding the Professional and Community editions

In this section, I will outline a number of the biggest differences between the two editions of PyCharm that are currently available and discuss the benefits of each edition with regard to different Python programmer subgroups.

Prices and licensing

Before you ask, yes, there are two editions of PyCharm—a free and a paid edition. The Community Edition is entirely free to download; in fact, as mentioned, JetBrains actually made the source code of the Community Edition available on GitHub in 2013.

The Professional Edition, on the other hand, has to be purchased; a license...

Summary

In this chapter, we introduced the Python language itself, as well as the background behind Python IDEs in general, and specifically, PyCharm.

We also discussed the usability of PyCharm for Python programmers. Specifically, to be able to take full advantage of all the features and functionalities that PyCharm offers without becoming too dependent on the IDE, a programmer should first master the fundamentals of the Python language and its core syntax. We also looked at comparisons between PyCharm itself and various other Python editors/IDEs and the reason why PyCharm is considered the best development environment of them all.

Finally, we compared the two editions of PyCharm that are available for download: the paid Professional Edition and the free Community Edition. If you are working with large, complex projects with many moving parts (including database management, web...

Questions

  1. Programmers typically develop their code with an editor or an IDE. What is the difference between the two, and which one is PyCharm?
  2. Why do some think that an IDE for Python development might be inappropriate or unnecessary?
  3. What is the recommended strategy for using an IDE for Python development?
  4. What are some key features of PyCharm? Of those features, which give PyCharm an edge over other editors/IDEs?
  5. What are the two editions of PyCharm? What are the key differences between them?
  6. Who should use the Community Edition of PyCharm? Who should use the Professional Edition of PyCharm?

Further reading

For more information, you can refer to the following literature:

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn basic to advanced PyCharm concepts to improve efficiency of your Python projects
  • Work through practical examples that focus on efficient application development with PyCharm
  • Explore advanced features in PyCharm such as code automation, version control, and GUI debugging

Description

JetBrain’s PyCharm is the most popular Integrated Development Environment (IDE) used by the Python community thanks to its numerous features that facilitate faster, more accurate, and more productive programming practices. However, the abundance of options and customizations can make PyCharm seem quite intimidating. Hands-on Application Development with PyCharm starts with PyCharm’s installation and configuration process, and systematically takes you through a number of its powerful features that can greatly improve your productivity. You’ll explore code automation, version control, graphical debugging/testing, management of virtual environments, and much more. Finally, you’ll delve into specific PyCharm features that support web development and data science, two of the fastest growing applications in Python programming. These include the integration of the Django framework as well as the extensive support for IPython and Jupyter Notebook. By the end of this PyCharm book, you will have gained extensive knowledge of the tool and be able to implement its features and make the most of its support for your projects.

Who is this book for?

If you’re a beginner or an expert Python user looking to improve your productivity using one of the best Python IDEs, this book is for you. Basic knowledge of Python programming language is expected.

What you will learn

  • Explore PyCharm functionalities and what makes it stand out from other Python IDEs
  • Set up, configure, and customize your Python projects in PyCharm
  • Understand how PyCharm integrates with Django for web development
  • Discover PyCharm s capabilities in database management and data visualization
  • Perform code automation, GUI testing, and version control in PyCharm
  • Integrate interactive Python tools such as Jupyter Notebooks for building virtual environments

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 27, 2019
Length: 494 pages
Edition : 1st
Language : English
ISBN-13 : 9781789342864
Category :
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning

Product Details

Publication date : Sep 27, 2019
Length: 494 pages
Edition : 1st
Language : English
ISBN-13 : 9781789342864
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 98.97
Hands-On Application Development with PyCharm
€32.99
Python GUI Programming Cookbook
€32.99
Hands-On Docker for Microservices with Python
€32.99
Total 98.97 Stars icon

Table of Contents

22 Chapters
Section 1: The Basics of PyCharm Chevron down icon Chevron up icon
Introduction to PyCharm - the Most Popular IDE for Python Chevron down icon Chevron up icon
Installing and Configuring PyCharm Chevron down icon Chevron up icon
Section 2: Improving Your Productivity Chevron down icon Chevron up icon
Customizing Interpreters and Virtual Environments Chevron down icon Chevron up icon
Editing and Formatting with Ease in PyCharm Chevron down icon Chevron up icon
Version Control with Git in PyCharm Chevron down icon Chevron up icon
Seamless Testing, Debugging, and Profiling Chevron down icon Chevron up icon
Section 3: Web Development in PyCharm Chevron down icon Chevron up icon
Web Development with JavaScript, HTML, and CSS Chevron down icon Chevron up icon
Integrating Django in PyCharm Chevron down icon Chevron up icon
Understanding Database Management with PyCharm Chevron down icon Chevron up icon
Building a Web Application in PyCharm Chevron down icon Chevron up icon
Section 4: Data Science with PyCharm Chevron down icon Chevron up icon
Turning on Scientific Mode Chevron down icon Chevron up icon
Dynamic Data Viewing with SciView and Jupyter Chevron down icon Chevron up icon
Building a Data Pipeline in PyCharm Chevron down icon Chevron up icon
Section 5: Plugins and Conclusion Chevron down icon Chevron up icon
More Possibilities with PyCharm Plugins Chevron down icon Chevron up icon
Future Developments Chevron down icon Chevron up icon
Assessments Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(3 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Bruce Nov 29, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is a good overview of PyCharm: the world's most popular Python IDE. There are several different ways the PyCharm IDE is used and the covers them all from the basics of setting up projects, managing revisions through the Git client built into the IDE, and general development practices like debugging and profiling your code for optimum performance.The author has a scientific background, and I don't so I can only assume the treatment of the data science features are as solid as they appear to be. The web development section focuses only on Django, which I feel is a flaw. I can see why people pick Django if they don't have much experience with web development. Django makes all the decisions for you regarding the architecture and technology used in your applications. If you prefer more fine-grained control over how your apps work, Django might not be the best choice, but that is all that is covered in the first edition. Since the first edition was published, PyCharm has grown tremendously in capability, so this book is due for an update.Rumor has it the second edition is in the works with more coverage of web development technologies and an update to the features in this powerful IDE.
Amazon Verified review Amazon
Dr. Matthias Nagel Aug 11, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Ok
Amazon Verified review Amazon
hero Jul 29, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
you will get a very good understanding of pycharm internals
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.