Python Forum
How to stop VSCode from generating cache files - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Bar (https://python-forum.io/forum-27.html)
+--- Thread: How to stop VSCode from generating cache files (/thread-20069.html)



How to stop VSCode from generating cache files - Larz60+ - Jul-26-2019

How can I turn off (not hide) pycache output in VSCode?


RE: How to stop VSCode from generating cache files - snippsat - Jul-26-2019

Now is pycache something Python makes and not VSCode,if i understand what you mean.

Can hide if add in setting.json.
"files.exclude": {
    "**/*.pyc": {"when": "$(basename).py"},
    "**/__pycache__": true,
    }
To turn if off most change how Python work,look/search for PYTHONDONTWRITEBYTECODE.