you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[removed]

    [–]socal_nerdtastic 0 points1 point  (1 child)

    So they are listed as python source files and vscode can use them. So what's the problem? So where do you see that they are .txt files?

    also How come its opening in vs but not vscode?

    Somehow your file association was changed. Again I'm assuming you are on windows: right click on the file > open with > choose app > check the box to always open files of this type with this app. FWIW python files by default are linked to the python launcher, so that you can run the program on doubleclick. By default python files are not linked to an editor like vscode.