I attempt to run a python program and the following pops up in command prompt:
\"Unable to initialize device PRN\"
I should also mention that the program runs fi
To fix this, add python.exe to system varible in your windows On Windows 10, go to Settings and search for Environment Click on Edit environment variables for your account Select Path and click the Edit button If the path to your Python.exe is not listed, click the New button Enter the path to your Python.exe application and click the OK button and restart the application