每次我用VSC编辑Python脚本时,它都会破坏这个脚本。如果我通过sed (甚至是nano )手动修复它,它可以工作,但是如果我用VSC(任何行)编辑脚本中的任何内容,然后尝试执行该脚本,我就会得到糟糕的解释器错误./marshal.py: bad interpreter: /bin/python3^M: no such file or directory。
有人有什么想法吗?编辑:所以我在Window
我正在尝试学习如何用tkinter制作图形用户界面,conde是相当基础的,但我得到了以下错误: Exception has occurred: TclError File "/home/josh/Documents/VSC/python/SECOM/mainWindow.py", line7, in __init__