Can I choose where python's cached *.pyc files are created and stored? -
this followup earlier what __pycache__? question.
is there way tell python-3.x put __pycache__ directory (or *.pyc files contains) in designated place. e.g. setting environment variable pycachedir=${home}/bin/python-cache?
for record, using mac os x.10.3 & python3 installed brew.
no, cannot. __pycache__ directory python pre-compiled files match requested .py file, , location not negotiable.
Comments
Post a Comment