(1) After script name
已回答
Why am I seeing a (1) or even a (2) after my script name when I right click on the tab?
请先登录再写评论。
Hi,
That's because you already have a run configuration for that file so the new one can't have the same name and PyCharm appends (n) automatically.
You can remove the unneeded run configurations in Run | Edit Configurations...
Thank you Sergey!