I tried to see if this is a duplicate, but was unable to find exactly this question. I'm also pretty ignorant regarding this stuff.
I am using Python 3.7.2 (the only version of python on my windows 10 computer) and have created a virtual environment using venv:
python -m venv /path/to/new/virtual/environment
I added some packages via pip install and created a requirements.txt file via pip freeze. I wrote some code using packages from the virtual environment.
I would like to share my code with colleagues. I can give them the code and the requirements file, but requirements.txt doesn't specify which version of python I used (3.7.2). What is the appropriate mechanism to communicate this information to my colleagues? Can the requirements.txt file be amended to include the fact that I used 3.7.2 and that anyone running my code should also use 3.7.2? Would the answer to this question depend on whether I or my colleagues have multiple version of python installed on our computers?