Set environment variables-call the python program
Computer-Properties-Advanced system Settings-Environment variables, add "C:\ python\;" to the path environment variables as shown in the following figure:
Computer-Properties-Advanced system Settings-Environment variables, add "C:\ python\;" to the path environment variables as shown in the following figure: