I have recently started learning python. The learning is going very quickly, because I have got previous experience with programming. There is one thing though, which confuses me a lot, and it is the virtual enviroments. Sometimes in a video I will see or hear someone talking about setting up a venv, but I dont entirely understand everything about it.
I know that they keep the dependencies for specific projects, because some projects might need different modules than others. But can I also put the project files themselves in the same folder as the virtual enviroment? Do I have to create the virtual enviroments in a specific place/folder?
It would be nice if someone could maybe help me figure this out a bit!
venvin Creating Virtual Environments. Though, you usually don't need to do this (or even care about it), Just set the virtual env up and activate it every time you work on the project. If you are using source control, you won't be committing the virtual env files anyway, so there's no advantage to putting it together with project files.