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
MASTERING PYCHARM

You're reading from   MASTERING PYCHARM Use PyCharm with fluid efficiency to write idiomatic python code

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781783551316
Length 232 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Nafiul Islam Nafiul Islam
Author Profile Icon Nafiul Islam
Nafiul Islam
Arrow right icon
View More author details
Toc

The PyCharm console

The PyCharm console is another fundamental part of PyCharm. In essence, it's the Python REPL with autocompletion and variable watch (which we will get into later). Right now, let's take a look at what the console offers us:

The PyCharm console

You can of course invoke the same action from the Find Action and Search Everywhere search boxes. This opens up the following:

The PyCharm console

Most buttons are self-explanatory, except for the two indicated by the arrows. The first is what I like to call variable watch; in essence, this shows you all the variables in your console (by pressing it, you toggle it):

The PyCharm console

New variables and the changes in variables are shown in blue:

The PyCharm console

The Variable Watch button is even more powerful, but that's a topic for Chapter 6, Debugging.

The second button after variable watch is actually pretty useful; it's a history of all the commands you've entered into your console throughout the project, so even if you close PyCharm or even shut down your system, the history will...

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 €18.99/month. Cancel anytime