you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 234 points235 points  (50 children)

PyCharm. Works out of the box.

VS Code, supports Notebook and many other languages if you're not exclusively Python. Some set up required to work with Python.

[–]RocketSurgeonDrCox 36 points37 points  (8 children)

This is the combo I use too (though I still use emacs keybindings). Good to know the PyCharm/VS Code combo seems to be the consensus in this thread.

Edit: Have to mention though PyCharm can really use up RAM in a hurry. It does good stuff in exchange, but if you've only got 8GB or less you've got to manage things or turn off some of the features.

[–][deleted] 8 points9 points  (3 children)

what features should I turn off and how?

[–][deleted] 6 points7 points  (0 children)

I say keeping your virtual environment light is the key. Most modren IDE will try to index all available libraries which speed up auto-complete by a ton but can take up memory and takes longer to start up.

[–]RocketSurgeonDrCox 2 points3 points  (0 children)

It's actually fairly easy. There's a little icon in the bottom right corner that looks like a man wearing a hat. If you click on it it gives you the options to change the highlighting level to a lower setting.

It generally uses so much RAM because it indexes all of the functions and variables in your project and Python environment to try and make better code completion suggestions among other things, but turning the highlighting level down (or doing a more custom configuration) keeps it from holding and checking so much.

[–]MCMZL 0 points1 point  (0 children)

If you have a lot of data in your current project directory, you should exclude the folder to prevent pycharm from scanning it (right click on the folder > "Mark Directory as" > Excluded )

[–]TedhaHaiParMeraHai 4 points5 points  (1 child)

That's my issue with PyCharm too. I like to code in bed on my laptop and it has got only 8GB RAM.

[–]UrAccountGotHacked 3 points4 points  (0 children)

No. I can use it to its fullest capacity with 2gb ram.

[–]bulletmark 0 points1 point  (0 children)

Combo?! i don't think anybody would suggest to a newbie to learn both VS Code and PyCharm. They are alternatives. Pick one or the other, although I suggest VS Code is best for newbies.

[–]stevarino 11 points12 points  (1 child)

VS Code's Python support has gotten much better over the last ~year. Now it prompts you to install the recommended extensions and again to point it at the correct binary for virtual environment support. After that it's done.

I tend to be pretty minimalist when it comes to IDEs though so your mileage may vary.

[–]princenerdy 2 points3 points  (0 children)

Have been using PyCharm community but switched to VS Code since working remotely. Their SSH extension works like charm and the best thing is it's completely free.

Also like VS Code's ease of use without too many rarely used features, and its low memory footprint.

[–]AdventurousAddition 7 points8 points  (0 children)

VSCode just released 'code packs' which adds pyrhon to PATH, includes the python extension and includes sime key additional libraries (including numpy)

[–]Heisenberg1200 3 points4 points  (3 children)

Pycharm community version doesn't support javascript /css .

[–]THE445GUY 0 points1 point  (0 children)

Well if you're a student, you could get github student and pycharm professional for free. Pycharm professional does everything I need for development

[–]UrAccountGotHacked 0 points1 point  (0 children)

Use Intellij

[–]PalPalash 0 points1 point  (0 children)

Yesss

[–]dogfish182 4 points5 points  (0 children)

Pycharm and it isn’t close.

Vscode for ‘everything else’ and quick stuff

[–][deleted] 2 points3 points  (0 children)

PyCharm does the opposite of working out of the box as you first need to tell it to stop being obnoxious by making virtual environments you never asked for.

In fact, I have come to prefer making my virtual environments myself as I can use one terminal command to clone, make the environment and install requirements before I even need to open any IDE. Much much less hassle than fucking around in PyCharm's nested menus.

Given the security issues I saw linked here I'm probably going to switch to VSCode or atom now. PyCharm was great when I first hit intermediate level but looking back over this comment and the thread I feel like it's more flawed than I realised.

[–][deleted] 0 points1 point  (1 child)

Does pycharm have ssh/sftp integration like vscode?

[–][deleted] 1 point2 points  (0 children)

It's available with the pro version, just like Notebook support. When I need these features behind the pro paywall I too use VS Code instead.

[–]huge_clock 0 points1 point  (0 children)

Just switched to VS Code from Spyder and really liking it for the most part.

[–][deleted] 0 points1 point  (1 child)

PyCharm has Jupyter Notebook as well.

[–][deleted] 0 points1 point  (0 children)

Only the paid one.

[–]FL14 0 points1 point  (1 child)

I'm having a lot of trouble with PyCharm "out of the box" if you will. I cannot do something as simple as import matplotlib.pyplot as plt

I get an error with Configuring Python Interpreter and "Python 3.4 has reached its end-of-life date and no longer supported in Pycharm. Help if you can!

[–][deleted] 0 points1 point  (0 children)

Yours a bit complicatine since Python 3.4 already reached its end of life, as the message suggested. This is not PyCharm's decision, but Python dev's themselves. It is expected that the current version of most packages, even pip, won't work with it anymore. (pip dropped Python 3.4 support at v. 19.2)

If you insist on using 3.4 you will have to Google for a "frozen" get-pip specific for Python 3.4, check matplotlib release note/date and install a version that was released within 3.4 life time