Unable to initialize device PRN in Python

前端 未结 8 1319
盖世英雄少女心
盖世英雄少女心 2021-02-07 01:22

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

相关标签:
8条回答
  • 2021-02-07 01:58

    I am using VS code and I just noticed this issue today. Google a little and I comment out all the print function still not working. I exit the vs code and launch it again and it works just perfectly.

    0 讨论(0)
  • 2021-02-07 02:03

    I had the same problem by accidentally sending the word "print" to the command line from my programming which DOS interprets as the DOS command to print to the printer.

    0 讨论(0)
提交回复
热议问题