I have a Python script called a.py
, which takes 1 parameter from the command line. a.py
is invoked as follows: python a.py 1
, where 1
is the parameter value. Now, suppose I run a.py
with 3 different parameter values on a single machine like this:
python a.py 1 &
python a.py 2 &
python a.py 3
I only see one a.pyc
file. I wonder why there is only one a.pyc
file since I invoke the program 3 times with 3 different parameters values, should there be 3 a.pyc
files (maybe with different names)? If not, the a.pyc
file couldn't contain all 3 parameters values, so where are the parameter values (i.e., 1,2,3
) stored?