Book Image

Mastering PyCharm

By : Nafiul Islam
Book Image

Mastering PyCharm

By: Nafiul Islam

Overview of this book

Table of Contents (18 chapters)
Mastering PyCharm
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

All about interpreters


Interpreter features in PyCharm are quite numerous. PyCharm allows you to create a new project with any interpreter that is installed on your system. It also allows you to derive a virtualenv from any interpreter installed on your system. And, it even allows you to inherit global site packages in the dialog box when creating the virtualenv. However, if you don't like this, you can always launch a project from the command line with the interpreter of your choice.

Before we start, however, I feel it is necessary to discuss virtualenv. It is a Python package for managing Python environments. It is freely available on Python Package Index (PyPI) and can be easily accessed with a pip install. If you aren't familiar with how virtualenv works, I suggest reading the documentation at https://virtualenv.pypa.io/en/latest/.

Adding interpreters

When starting off a Pure Python project in the wizard, PyCharm gives us the ability to choose any interpreter installed on our system, and...