Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying MASTERING PYCHARM
  • Table Of Contents Toc
MASTERING PYCHARM

MASTERING PYCHARM

By : Nafiul Islam
2.6 (17)
close
close
MASTERING PYCHARM

MASTERING PYCHARM

2.6 (17)
By: Nafiul Islam

Overview of this book

PyCharm is addictive, with powerful and configurable code completion, superb editing tools, top-notch support, diverse plugins, and a vibrant ecosystem to boot. Learning how PyCharm works and maximising the synergy of its powerful tools will help you to rapidly develop applications. From leveraging the power of the editor to understanding PyCharm's internals, this book will give you a comprehensive view of PyCharm and allow you to make your own choices about which workflow and tools are best for you. You will start by getting comfortable with PyCharm and making it look exactly like you want. You can customize the tools and taskbars to suit individual developers' coding styles. You also learn how to assign keyboard shortcuts. You will master debugging by inserting breakpoints, collecting runtime data, and debugging from the console. You will understand how PyCharm works underneath and how plugins such as Codemap, Vim, Bitbucket, Assets compressor, markdown, bash file, shortcut translator, and .gitignore leverage the power of the IntelliJ platform. You will become comfortable using the VCS interface in PyCharm and see the benefits of using it for some simple tasks as well as some more complex tasks such as partial commits using changelists. You will take an in-depth look at the various tools in PyCharm, improving your workflow drastically. Finally, you will deploy powerful PyCharm tools for Django, Flask, GAE, and Pyramid Development, becoming well acquainted with PyCharm’s toolset for web development with popular platforms. Packed with insider tricks, this book will help you boost productivity with PyCharm.
Table of Contents (13 chapters)
close
close
3
3. Getting Places
12
Index

Profiling


Profiling is a new addition to PyCharm 4.5, and has a nice set of features, most notably, a graphic representation of the calls made. We are going to use the previously mentioned downloader.py file to demonstrate some of the new features.

We simply right-click anywhere on the file and then left-click on Profile 'downloader'. With this, we will be taken to a new panel that shows us a call table.

We can also see that if we choose to, we can jump to both the source and the call graph. The call graph is a graphical representation of what functions are being called where and their impact; green means small impact and red means high impact. This is really quite useful since we can optimize slow code on the spot if the optimization is simple.

Furthermore, the call graph gives us a nice colorized hierarchical representation of function calls.

We can also export the graph files for others to see. If we right-click on any of the call blocks in the call graph, we can jump to the source.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
MASTERING PYCHARM
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon