I guess you are not working in your Folder. If you created a file without setting a Working directory, VSCode works in Python installation directory . From VS studio Code open your folder that you are working in. You can check it from explorer on the left panel.