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

26

u/[deleted] Apr 18 '22

I've recently switched from Atom to VS Code and I've been having blast with it.

0

u/[deleted] Apr 19 '22

[deleted]

5

u/[deleted] Apr 19 '22

If you just poking around with it in your spare time, you probably don’t need a whole bunch of features. Atom is fine. When you find yourself to bugging a large python application that it takes a while to deploy, you’re gonna want to start debugging in real time using something awesome like VS code or Pycharm.

1

u/Sans_Crainte Apr 19 '22

Can you run a virtual environment in Atom? I use VS code for the ability to put my different projects in their own environment.

1

u/[deleted] Apr 19 '22

Python virtual environments aren’t a feature of your IDE. Whether or not Atom has features that can manage python virtual environments is another question. I imagine they probably do.

Is this what you’re looking for?

https://atom.io/packages/atom-python-virtualenv

2

u/Sans_Crainte Apr 19 '22 edited Apr 19 '22

Edit: I get what you are saying in that the IDE doesn't actually have the Virtual environment and I phrased my question wrong above. I was more asking if it was something that could be run/setup through Atom like the steps below for VS Code.

python virtual environments are a feature of VS code

# macOS/Linux
# You may need to run sudo apt-get install python3-venv first
python3 -m venv .venv

# Windows
# You can also use py -3 -m venv .venv
python -m venv .venv

https://code.visualstudio.com/docs/python/environments