Hello, I'm curious to know more about how virtual environments work, as they seem pretty useful. However, I'm a little confused on how they work after reading up on them and would love some clarification
My current understanding is that venv is a folder within my project that holds all dependencies that I've installed using pip. Does this mean that my project folder structure would look something like Projects > Project 1, Project 2, etc > venv, code 1, code 2? Thus, I don't put any of my code within the venv folder but rather outside? How do I make it such that the programs are running on the dependencies within the venv?
lol I'm not sure if I phrased this correctly but I hope I made my question understandable.