News for hackers. Stuff that matters.
Re:Show HN: A platform for beginners to learn programming in... by ptx on Saturday August 01, 2020 @06:07PM (#24024310)
I agree, but it can be simplified. Python 3 nowadays comes with all the needed tools built-in, so there is no need to install virtualenv:

  cd your/project/location
  python3 -m venv env
  source env/bin/activate
  pip install anything_you_like
Also, on Windows, use the Python launcher[1] (that comes with the standard install of Python for Windows) to avoid having to mess with PATH settings as you would have had to historically. Instead of calling "python" or "python3" and hoping for the right version, just call "py" and tell it which version you want:

  py -3.6-32 -m venv env
That gets you a venv with 32-bit Python 3.6, for example. Use "py -0" to list available versions.

[1] https://docs.python.org/3/using/windows.html#python-launcher...

Re:Show HN: A platform for beginners to learn programming in... by theelous3 on Saturday August 01, 2020 @06:27PM (#24024436)
Yep, this is good. Just trying to be general here on hn, or I'll get someone saying the other case ;)