Why Are My Python Files Saving as .pyproj Instead of .py?

0
7
Asked By CuriousCoder92 On

Hey everyone! I'm a beginner programmer, so please be gentle. I noticed that my Python files, which used to save as .py, are now saving as .pyproj. My university specifies that I submit my work in .py format. The .py files also used to run directly in the terminal, but now the .pyproj files automatically launch with Visual Studio or whatever. Did something update that I'm not aware of? This issue just started happening yesterday.

1 Answer

Answered By TechWizard45 On

Python files typically have a .py extension, but it's not strictly necessary. It sounds like your IDE is set to save projects in a .pyproj format instead of .py. You'll need to adjust the settings in your IDE to save files with the correct extension.

LearningPython1 -

Could a Visual Studio update have changed the default extension?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.