python - Where is my _pycache_ folder and .pyc byte code files? -



python - Where is my _pycache_ folder and .pyc byte code files? -

i'm running python 3.4.1 on windows 7 , thought after running .py script in command line, directory named _pycache_ created in same directory script ran in. not there, after made sure 'show hidden files, folders, , drives' checked. looked around here , on google can't seem reply makes visible.

can help? i'm new python , on byte code files.

the directory called __pycache__ (with double underscores).

it'll created if python has permission create directory in same location .py file lives. folder not hidden in way, if not there, python did not create it.

note .pyc bytecode cache files created modules code imports; not created main script file. if run python.exe foobar.py, no __pycache__/foobar.cpython-34.pyc file created.

python python-3.x

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -