Hacker News new | past | comments | ask | show | jobs | submit login

I would recommend Python 3 for sure. I just use the installers from 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




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: