You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is due to the following two lines of code in the script:
prg = './hello.py' # line 7
out = getoutput(f'python3 {prg}') # line 21
A solution to this problem is to change the two lines above as follows:
prg = '.\hello.py' # line 7: change './hello.py' to '.\hello.py' (or simply 'hello.py', removing the './' entirely)
out = getoutput(f'python {prg}') # line 21: change 'python3' to 'python'
The text was updated successfully, but these errors were encountered:
You may want to advise Windows users to install 'make'. This can be done, for example, via chocolatey.org. GNU make 4.3 (https://community.chocolatey.org/packages/make) works on my Windows 10 Professional machine.
With the installation of 'make', they can now run 'make test' in 01_hello
The https://github.com/kyclark/tiny_python_projects/blob/master/01_hello/test.py script does not work on Windows 10 Professional.
The problem is due to the following two lines of code in the script:
A solution to this problem is to change the two lines above as follows:
The text was updated successfully, but these errors were encountered: