Problems with files with abc names in Pycharm

  1. because it is a python rookie, some test files are built in Pycharm, but an error will be reported when you right-click to run the python file, as follows:

  1. although it is not possible to run a file, there is no problem with running the python file name directly in the terminal included with Pycharm
  2. finally found that due to customization to create a file called "abc", it is said that python itself comes with this file, I am not sure, but after deleting this file, you can right-click the Run file name.
  3. there"s really nothing special about the abc file you create, even if you don"t have anything. If you don"t believe me, you can give it a try. I"m just recording the place of the KD
  4. .
Oct.19,2021

appears for this reason, but the file name happens to have the same name as the module in the standard library.
python.org/3/library/abc.html" rel=" nofollow noreferrer "> abc- abstract base class
python.org/3/library/abc.html" rel= "nofollow noreferrer" > https://docs.python.org/3/lib.

Menu