r/learnpython • • Apr 18 '22

The best IDE for Python?

What would you recommend for the best IDE to start learning Python?

225 Upvotes

229 comments sorted by

View all comments

380

u/iPlayWithWords13 Apr 18 '22

PyCharm or VS Code

121

u/Cassegrain07 Apr 18 '22

This. Pycharm is very easy to use

40

u/razzrazz- Apr 18 '22

I don't know why, but Pycharm is good on CPU but high on memory for me...so I didn't like it for that reason, especially as a beginner who is learning.

After testing a boatload of them, I really like Thorny and Visual Basic code.

24

u/FerricDonkey Apr 19 '22

I think of it as outsourcing memory from my brain to the computer. Pycharm is amazing for managing many functions across many modules across many subpackages in the same project - it knows where everything is, what it's called, and what arguments it takes. (And especially changing the names of them, if you need to.)

Which means I mostly don't have to. I have to write the function well when I make it, and mostly know what I wrote functions to do, then when I want to load some data, I just go "well, that's probably in the data_rw module" and hit tab a lot. Then pycharm tells me what arguments I need to fill, and I do.

I've used VS code as well, and it's okish, but not nearly as good as that for large projects.

4

u/razzrazz- Apr 19 '22

I definitely think for larger products it's probably better, just as a beginner (I can relate to the OP), I would prefer something with not a lot of bells and whistles for learning purposes.

8

u/FerricDonkey Apr 19 '22

Fair enough. I prefered the bells and whistles from the beginning, but I know a lot of people who get annoyed by them, so can't argue with preference.

→ More replies (1)

8

u/BrattyBookworm Apr 18 '22

It does seem to use up a lot of memory, not sure why. I’m just starting this week with some very basic programs and after 2-3 hours it’ll be using up 40-60% of my computers memory. I’ve been wondering why that is?

18

u/razzrazz- Apr 18 '22

Imagine the irony if it was badly programmed? 😂

15

u/mathmanmathman Apr 18 '22

One of the reasons JetBrains IDEs are popular is the way that they can link to use and declaration of functions and make recommendations. Most IDEs can do that to a certain extent, but JetBrains is generally better (to the extent that they have a popular C# extension for VS... both C# and VS are Microsoft).

They way they do this is by keeping a lot of information about your code in memory. It's usually good about releasing memory when necessary. I think there's also an option that can be set to let you release it more often, but just bought a shit ton of memory instead :)

5

u/Dwight-D Apr 18 '22

There’s probably a lot of indexing going on, you can search through all different kinds of symbols like classes, variables, functions etc.

Like someone else said there’s also a lot of autosuggestions and other analysis of your code happening. Its got a lot more functionality than something like VS Code which adds a bit of a footprint.

3

u/Username_RANDINT def get_random_int(): return "RANDINT" # TODO Apr 19 '22

it’ll be using up 40-60% of my computers memory.

That doesn't say much in a general sense. Absolute numbers are more important. If you have 8gb RAM and working on Windows, then PyCharm might be a squeeze.

→ More replies (2)
→ More replies (1)

2

u/antiproton Apr 19 '22

I don't really understand why people look at memory consumption as an application metric in 2022. Who cares how much memory it consumes? Unless you have a criminally low end machine, it's not going to have any impact on performance.

→ More replies (2)
→ More replies (2)

9

u/DoozerMarch Apr 19 '22

Pycharm is great especially if you are starting. I’ve ended up on vscode but mainly because I wanted to use the same ide for writing markdown and latex as for Python

17

u/MrBobaFett Apr 18 '22

I started with Notepad++, then PyCharm, now mostly use VS Code (replacing with VS Codium because fuck MS and their telemetry).

1

u/cturnr Apr 19 '22

does codium work with the package manager? --- guess i could just try it

→ More replies (1)
→ More replies (2)

12

u/[deleted] Apr 18 '22

[removed] — view removed comment

0

u/[deleted] Apr 19 '22

[deleted]

→ More replies (1)
→ More replies (10)

3

u/[deleted] Apr 18 '22

Pretty much this. University meant I was using PyCharm and IntelliJ but VS Code feels so lightweight for some reason.

3

u/[deleted] Apr 19 '22

PyCharm

3

u/fakemoose Apr 19 '22

Psh, Spyder all the way.

Just kidding, I think whatever is most comfortable to the individual user. Spyder reminds me of R Studio and Matlab interface a looooong time ago (no idea what Matlab looks like now. I avoid it like the plague).

→ More replies (2)

6

u/dimonoid123 Apr 18 '22 edited Apr 18 '22

PyCharm if you have professional license, there are a lot of useful premium features, and it works really well on multiple monitors unlike VSCode. But there is no copilot, which is only available in VSCode.

PS: Why did someone downvote me?

Edit: It appears that Copilot is already available for Pycharm.

8

u/QuixDiscovery Apr 18 '22

Why did someone downvote me?

If I had to guess, most likely because copilot works with Pycharm.

2

u/dimonoid123 Apr 18 '22

Wow. Old news then. Thanks.

6

u/iPlayWithWords13 Apr 18 '22 edited Apr 18 '22

Pycharm is great with or without a professional license and copilot should have absolutely no place in this thread as it's a horrible tool and this post was made for a beginner.

https://www.reddit.com/r/ProgrammerHumor/comments/qfzpes/github_copilot_the_technology_that_will_replace/?utm_medium=android_app&utm_source=share

6

u/Mrhiddenlotus Apr 18 '22

Copilot might be ethically questionable, but it's far from a horrible tool.

→ More replies (2)
→ More replies (4)
→ More replies (1)
→ More replies (6)