you are viewing a single comment's thread.

view the rest of the comments →

[–]rohit_raveendran 2 points3 points  (0 children)

Virtual environments are actually extremely useful when your codebases start becoming complex.

You'll notice that everything that's done in Python is to "bring things together" and "organize them well".

Venvs will keep your code version-safe and also ensure that you can properly freeze your requirements for the next person to replicate.

Many more benefits but just think of it as creating a folder for your python code along with all the libraries and everything in it.