Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

What is __pycache__?

Asked by Colin Payne Jun 8, 2021 1.3K views 2 answers
Share

About this question

what is __pycache__ ? What do we do with the __pycache__ folder? Is it what we give to people instead of our source code? Is it just my input data? This folder keeps getting created, what is it for?

Your answer

2 Answers

Claude Buckner Latest answer

Answered on Oct 7, 2025

__pycache__ stores compiled Python bytecode (.pyc files) to make programs start faster. You shouldn’t share it — only share your .py source files. It’s not your data, and you can safely delete it; Python will recreate it automatically. What are you waiting for? Play Unblocked Games now!


Was this helpful?

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.