There are multiple ways of setting up Python depending on your platform. Moreover, the different people seem to prefer different “package managers” (used to add libraries to you project). It is unnecessarily confusing when you’re just starting out. You’ll get a chance to be opinionated later, but that’s not a wise choice right now.
To install Python, just use Anaconda 3: https://www.anaconda.com/distribution/
It has installers for all major platforms (Linux, Windows, OSX). You’re successful if you’re able to create a file called
hello.py and run it by typing
If the script runs successfully, you’ll get the words “Hello, world” in the terminal. At this point, you should be all set to follow any book/course and execute any scripts that they show you how to write.