Hide The Active Tool Window

PyCharm is a dedicated Pykhiêm tốn Integrated Development Environment (IDE) providing a wide range of essential tools for Pykhông lớn developers, tightly integrated khổng lồ create a convenient environment for productive Python thả, web, và data science development.

Bạn đang xem: Hide the active tool window

Choose the best PyCharm for you

PyCharm is available in three editions:

For details, see the editions comparison matrix.

Supported languages

To start developing in Pynhỏ bé with PyCharm you need khổng lồ download and install Pydong dỏng from pynhỏ nhắn.org depending on your platkhung.

PyCharm supports the following versions of Python:

Pythuôn 2: version 2.7

Pythuôn 3: from the version 3.6 up to the version 3.10

Besides, in the Professional edition, one can develop Django, Flask, và Pyramid applications. Also, it fully supports HTML (including HTML5), CSS, JavaScript, and XML: these languages are bundled in the IDE via plugins and are switched on for you by default. Support for the other languages and frameworks can also be added via plugins (go lớn Settings | Plugins or PyCharm | Preferences | Plugins for macOS users, lớn find out more or phối them up during the first IDE launch).

Supported platforms

PyCharm is a cross-platsize IDE that works on Windows, macOS, & Linux. Check the system requirements:


RequirementMinimumRecommendedRAM4 GB of không lấy phí RAM8 GB of total system RAMCPUAny modern CPUMulti-core CPU. PyCharm supports multithreading for different operations & processes making it faster the more CPU cores it can use.Disk space2.5 GB và another 1 GB for cachesSSD drive sầu with at least 5 GB of miễn phí spaceMonitor resolution1024x7681920×1080Operating system

Officially released 64-bit versions of the following:

Microsoft Windows 8 or later

macOS 10.13 or later

Pre-release versions are not supported.

Lathử nghiệm 64-bit version of Windows, macOS, or Linux (for example, Debian, Ubuntu, or RHEL)

You can install PyCharm using Toolbox or standalone installations. If you need assistance installing PyCharm, see the installation instructions: Install PyCharm

Start with a project in PyCharm

Everything you vì in PyCharm, you bởi vì within the context of a project. It serves as a basis for coding assistance, bulk refactoring, coding style consistency, and so on. You have sầu three options lớn start working on a project inside the IDE:

Open an existing project

Begin by opening one of your existing projects stored on your computer. You can select one in the list of the recent projects on the Welcome screen or cliông chồng Open:

*
or
*
. This button toggles the showing of the tool window bars. If you hover your mouse pointer over this button, the danh mục of the currently available tool windows show up.

See the pages Overview of the user interface and Tool windows lớn learn more about showing or hiding tool windows.

Code with smart assistance

When you have created a new project or opened an existing one, it is time lớn start coding.

Creating a Pykhông lớn file

Select the project root in the Project tool window, then select File | New ... from the main thực đơn or press Alt+Insert.

*
button in the gutter, và then choose the desired command.

You can see the your script execution in the Run tool window.

*

When you perkhung run, debug, or thử nghiệm operations with PyCharm, you always start a process based on one of the existing run/debug configurations, using its parameters.

When you run your application for the very first time, PyCharm automatically creates the temporary Run/Debug configuration. You can modify it to specify or alter the default parameters and save sầu it as a permanent Run/Debug configuration.

See how khổng lồ tune run/debug configurations in Run/debug configurations.

Debug

Does your application stumble on a runtime error? To find out what’s causing it, you will have sầu to lớn bởi vì some debugging. PyCharm supports the debugger on all platforms.

Debugging starts with placing breakpoints at which program execution will be suspended, so you can explore program data. Just cliông xã the gutter of the line where you want the breakpoint to lớn appear.

To start debugging your application, press Shift+F9. Then go through the program execution step by step (see the available options in the Run thực đơn or the Debug tool window ), evaluate any arbitrary expression, add watches, và manually phối values for the variables.

*

Refer to the section Debugging for details.

Test

It is a good idea to test your applications, and PyCharm helps doing it as simple as possible.

With PyCharm, you can:

Run & debug tests right from the IDE, using the testing run/debug configurations.

To learn about the numbers, read the Test Runner tab section.

PyCharm supports all the major Pynhỏ testing frameworks:

For each of these frameworks, PyCharm provides its own run/debug configuration.

Xem thêm: Sức Hút Của Fancam Là Gì ? Fancafe, Fanclub, Fansite, Fansign, Fandom Là Gì

Refer lớn tutorial Step 3. Test your first Python application & lớn the Run tests section for details.

With PyCharm Professional you can run, debug, và kiểm tra your Pybé nhỏ code remotely. You can deploy your local applications to lớn some remote VPS. To learn about deployment servers, refer khổng lồ the section Configuring Synchronization with a Web Server. PyCharm Professional also helps compare local và remote folders, và synchronize the local copy with that deployed on the server.

Keep your source code under Version Control

VCS

If you are keeping your source code under version control, you will be glad to know that PyCharm integrates with many popular version control systems: Git (or GitHub), Mercurial, Perforce (supported in Professional edition only), Subversion. To specify credentials & any settings specific khổng lồ a particular VCS, go to lớn Settings | Version Control (or PyCharm | Preferences | Version Control if you are a macOS user).

The VCS thực đơn gives you a clue about what commands are available. For example, you can see the changes you’ve made, commit them, create changelists and much more from the Local Changes view: VCS | Show Changes (or just press Alt+9 ). Also, find some VCS basic commands in the Navigation bar above the editor:

*

Refer lớn the section Version control for details.

Local history

In addition to traditional version control, you can use the local history. With Local History, PyCharm automatically tracks changes you make khổng lồ the source code, the results of refactoring, and so on

Local history is always enabled. To view it for a file or a folder, bring up Local History by selecting VCS | Local History | Show History. Here you can nhận xét the changes, revert them, or create a patch.

Process data

PyCharm has an interactive Pynhỏ bé console khổng lồ perform smart operations over data with on-the-fly syntax check with inspections, braces và quotes matching, and of course, code completion. You can also benefit from the built-in support for Anaconda.

With PyCharm Professional, you can analyze và visualize various scientific & statistical data. Jupyter Notebook integration enables editing, executing, & debugging notebook source code & examining execution outputs, including stream data, images, và other media.

*

With the R plugin installed in PyCharm, you can persize various statistical computing using R language và use coding assistance, visual debugging, smart running and pReviews tools, and other popular IDE features.

*

As you might have sầu noticed already, creating projects of the various types (Django, for example) requires a data source. It is also quite possible that you inject SQL statements inlớn your source code.

PyCharm Professional does not enable you to create databases, but provides facilities to manage & query them. Once you are granted access to lớn a certain database, you can configure one or more data sources within PyCharm that reflect the structure of the database and store the database access credentials. Based on this information, PyCharm establishes a connection to the database & provides the ability to lớn retrieve sầu or change information contained therein.

Access khổng lồ the databases is provided by the Database tool window (View | Tool Windows | Database ). This tool window allows you khổng lồ work with the databases. It lets you view và modify data structures in your databases, & perkhung other associated tasks.

*

See Database tools & Squốc lộ for details.

Customize your environment

Feel không lấy phí to lớn tweak the IDE so it suits your needs perfectly & is as helpful and comfortable as it can be. Go lớn File | Settings (PyCharm | Preferences for macOS users) to see the danh sách of available customization options.

Appearance

The first thing khổng lồ fine-tune is the general "look và feel." Go khổng lồ File | Settings | Appearance and Behavior | Appearance (PyCharm | Preferences | Appearance & Behavior | Appearance for macOS users) khổng lồ select the IDE theme: the light themes or Darcula if you prefer a darker setting.

Editor

The many pages available under File | Settings | Editor (PyCharm | Preferences | Editor for macOS users) help you adjust every aspect of the editor’s behavior. A lot of options are available here, from general settings (like Drag"n"Drop enabling, scrolling configuration, & so on.), to lớn color configuration for each available language & use case, to lớn tabs & code folding settings, to code completion behavior & even postfix templates.

Refer lớn the section Configuring PyCharm settings for details.

Code style

Code style can be defined for each language under File | Settings | Editor | Code Style (PyCharm | Preferences | Editor | Code Style for macOS users). You can also create & save sầu your own coding style scheme.

*

Refer lớn Configuring code style & Code Quality Assistance Tips and Tricks, or How khổng lồ Make Your Code Look Pretty? for details.

Keymap

PyCharm uses the keyboard-centric approach, meaning that nearly all actions possible in the IDE are mapped to keyboard shortcuts.

The mix of keyboard shortcuts you work with is one of your most intimate habits — your fingers "remember" certain combinations of keys, và changing this habit is easier said than done. PyCharm supplies you with a mặc định keymaps (choose Help | Keybản đồ Reference from the main menu) making your coding really productive sầu & convenient. However, you can always change it going lớn File | Settings | Keybản đồ (PyCharm | Preferences | Keymaps for macOS users).

There are also some pre-defined keymaps (like Emacs, Visual Studio, Eclipse, NetBeans & so on), & you can also create your own keybản đồ based on an existing one.

If you feel most productive with vi/Vlặng, an emulation mode will give you the best of both worlds. Enable the IdeaVyên plugin in the IDE & select the vyên ổn keymap.

Refer to the section Configure keyboard shortcuts for details.

That’s it! Go ahead and develop with pleasure!

We hope this brief overview of essential PyCharm features will give you a quick start. There are many important features that make a developer’s life easier and more fun, và the source code neater and cleaner. Take these first few steps now, and then dig deeper when you feel the time is right:

Enjoy PyCharm! With any questions visit our Discussion Forum, twitter & blog, where you can find news, updates, & useful tips and tricks. Also, don"t hesitate to lớn report any problems lớn our tư vấn team) or the PyCharm issue tracker.