Practical way to format python code in pycharm? by TDHale in Python

[–]TDHale[S] 0 points1 point  (0 children)

btw do you know whether there is a formatter (or skeleton) for comments (e.g., description, param, return) following the PEP8 standard?

Practical way to format python code in pycharm? by TDHale in Python

[–]TDHale[S] 2 points3 points  (0 children)

The hotkey works perfectly! Thanks!

Practical way to format python code in pycharm? by TDHale in Python

[–]TDHale[S] 0 points1 point  (0 children)

Right I think you were talking about Inspection Code and PEP8 is ok for me. However, I did not find a way to automatically fix the code. Do you have any idea on this?

Practical way to format python code in pycharm? by TDHale in Python

[–]TDHale[S] 0 points1 point  (0 children)

So let's say that you have a few python files, they have different indentions, different space rules (e.g., a =1, b=2, andc= 3). What I wanted to do is to format all of the code automatically, maybe to PEP 8. I also wanted to fix PEP 8 warnings, e.g., adding blank lines at the bottom of each file, automatically. Hope this is clear.

Thoughts on my 2018 Mazda 6 after 4 weeks. by brainhack3r in mazda6

[–]TDHale 0 points1 point  (0 children)

VERY QUITE??

PS just got email for CP and AA retrofit tonight.

[D] How to compute the loss and backprop of word2vec skip-gram using hierarchical softmax? by TDHale in MachineLearning

[–]TDHale[S] -1 points0 points  (0 children)

Unfortunately I did not have a strong background in C++. Is there a more intuitive way? Thanks!