The python3 version is Python 3.5.3 in my os.
mkdir workspace
cd workspace
vim print.py
print("i am learning")
Saved and exit.
python3 print.py
i am learning
As far as i knew, python source file was parsed and compiled into pyc file when to execute it.
ls
print.py
There is no pyc file in workspace directory,where is the complied print.py
file then?
sudo find / -name ".pyc"
The find command still can't search pyc
file such as print.pyc
.
python3 -m compileall
can create the compiled file for print.py
manually,where is the compiled file for print.py
created by python itself?
Does python3 delete the print.pyc
after executing python3 print.py
?