Python Forum
How to stop VSCode from generating cache files
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to stop VSCode from generating cache files
#1
How can I turn off (not hide) pycache output in VSCode?
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  hor to prevent VSCode from using .pyc files Larz60+ 0 2,320 Aug-30-2018, 09:00 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020