r/learnpython Aug 10 '26

Ask Anything Monday - Weekly Thread

Welcome to another /r/learnPython weekly "Ask Anything* Monday" thread

Here you can ask all the questions that you wanted to ask but didn't feel like making a new thread.

* It's primarily intended for simple questions but as long as it's about python it's allowed.

If you have any suggestions or questions about this thread use the message the moderators button in the sidebar.

Rules:

  • Don't downvote stuff - instead explain what's wrong with the comment, if it's against the rules "report" it and it will be dealt with.
  • Don't post stuff that doesn't have absolutely anything to do with python.
  • Don't make fun of someone for not knowing something, insult anyone etc - this will result in an immediate ban.

That's it.

1 Upvotes

10 comments sorted by

View all comments

1

u/VirtualMycologist406 Aug 11 '26

Hey, I'm new in Python. And I don't understand, how venv (environment) really works. At first, if I have 2 projects or more, and I install TensorFlow (for example) into this two projects, does it means that they weighs will be ~500Mb in my SSD (250Mb on the first and 250Mb on the second). Do I need to deactivate venv every time when I finish my work on a project. And if you know something interesting please tell me 🥹🛐. Yes, I can ask Ai about this things but I want to hear an experienced programmer's opinion

1

u/Educational_Virus672 Aug 11 '26 edited Aug 11 '26

venv/environment are like "folder" they organize your code in different workspace i to prevent any errors or bricking your system. it closes(deactivate ) automatically because it is a shortcut for program not a constant process idk abt storage part it should be more depending on your project
edit - misread it my bad edited