Pycharm memo

I will leave a note in Japanese in case I forget it.

environment

・ Win10 (64bits) ・ Python3 series

Installing Pycharm on Win10

Just download and run the installation file. There is a paid Professional Edition and a free Community Edition.

function

call graph With the Professional version (paid version) of Pycharm, you can use the profile function, for example, you can draw such a graph. callgraph.JPG

When I was in college, I had only programming experience as much as I typed C language in an editor, and I was new to Python using the IDE, so I'm surprised at this. I don't have the skills to use it.

Editing Jupyter notebook

You can also edit the Ipython HTML notebook (Jupyter notebook). It seems that the operation becomes heavy when using it, but it is convenient to use.

However, when Shift + Enter is executed for the first time, the contents of Out once displayed cannot be seen, and the output numbering cannot be seen. If you Shift + Enter again, there is no problem, but it is a little troublesome.

TODO management function

There is a function that picks up and displays the place where TODO is written in the comment. Here http://d.hatena.ne.jp/yuheiomori0718/20130203/1359893004 Is explained in more detail.

It seems to be convenient because there are various things such as filtering function.

Quick Definition Display of function definition

You can use Ctrl + Shift + i to view the source where the function is defined. You can start editing by selecting Edit from the display window.

Convenient shortcut

-[Ctrl] + [Alt] + [l]: Code optimization -[Ctrl] + [Alt] + [o]: Import optimization

Setting

Package installation / uninstallation / update on GUI

If you select File-> Settings-> Project-> Project Interpreter, the package list will be displayed at the same time as the interpreter. On this screen, you can add a package with +, delete a package with-, and update a package with ↑.

Trouble

The file is displayed in yellow, and when I try to edit it, it says these files do not belong to the project.

background

It may have happened when you moved a file from a local folder to a OneDrive folder. Search in English at http://stackoverflow.com/questions/23042034/pycharm-opens-old-versions-or-files-in-duplicate-tabs-while-debugging But I don't understand even if I read it.

Coping

Restored by deleting the .idea folder. I don't think it's the right way, but for the time being.

Recommended Posts

Pycharm memo
Pycharm setting memo writing
Anaconda3 × Pycharm environment construction memo
gzip memo
Pandas memo
HackerRank memo
Python memo
python memo
graphene memo
Flask memo
pyenv memo
pytest memo
sed memo
Install Memo
PyCharm begins
BeautifulSoup4 memo
networkx memo
pycharm shortcut
python memo
tomcat memo
command memo
Generator memo.
Python memo
SSH memo
Command memo
Memo: rtl8812
pandas memo
Python memo
pycharm shortcut
Python memo
AtCoder devotion memo (11/12)
[Python] Memo dictionary
PyPI push memo
tensorflow-gpu introduction memo
LPIC201 learning memo
Jupyter Notebook memo
LPIC304 virtualization memo
python beginner memo (9.2-10)
youtube download memo
Linux x memo
Django Learning Memo
ARC # 016 Participation memo
Beautiful Soup memo
LPIC101 study memo
linux (ubuntu) memo
Override Pycharm typeshed
scp command memo
Flask Primer Memo
celery / kombu memo
who command memo
django tutorial memo
Flask basic memo
Linux # Command Memo 1
★ Memo ★ Python Iroha
Gender recognition memo
Image reading memo
[MEMO] [TERMINAL] Alacritty
3D rotation memo (1)
[Python] EDA memo
Python 3 operator memo
H2O.ai Introduction memo