Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Virtualenv

Jason Smith
Jason Smith
8,668 Points

Best practices with venv?

I'm using visual studio code, and i I'm using Windows 10. Going down the road, what guidelines should i follow to help manage the messes i will inevitably create? What kinds of naming conventions help out a lot? where should i store stuff? are there any gotchas unexplained here in these videos? Now that it's 2019, what other tools should i look out for?

1 Answer

Rachel KTY Johnson
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Rachel KTY Johnson
Treehouse Project Reviewer

Hey Jason Smith ! The general "rule" for venv is that you'll want one for every project you start. I personally name my venv folder env, but as long as you stick with a particular convention you'll be fine!

Thet thing with virtual environments is that they're essentially just temporary computers. If something goes wrong, you can safely delete the venv folder and create a new one.