Open
Description
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:
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'
Metadata
Metadata
Assignees
Labels
No labels