2 ms·
I would recommend Python 3 for sure. I just use the installers from https://www.python.org/ https://www.python.org/ and don't tend to have any problems. I pref
by passive 9y ago
I would recommend Python 3 for sure. I just use the installers from https://www.python.org/ https://www.python.org/ and don't tend to have any problems.
I prefer lightweight tools, so I use Visual Studio Code. It won't hold your hand, but neither will it get in your way.
When working on projects, get in the habit of using virtualenvs. It's a small amount of overhead, but will save you a ton of frustration in the long run. A primer on windows:
From project directory, initialize it:
> python -m venv .env
(I put my virtualenvs in .env out of habit. Virtualenvwrapper, itself a useful addition for managing virtualenvs, puts them in your home directory, which can be fine too.)
Activate it:
> .env\Scripts\activate.bat
Use "pip" to install your dependencies. Also use "pip freeze" to record those dependencies for installations elsewhere. I'm currently following this for dependency management: https://www.kennethreitz.org/essays/a-better-pip-workflow https://www.kennethreitz.org/essays/a-better-pip-workflow