Summary
In this chapter, you learned why virtual environments are useful and you discovered several implementations of them and their advantages. We explored how to create virtual environments and how to install multiple different Python versions. Finally, we covered how to manage the dependencies for your Python projects.
Since Python is an interpreted language, it is easily possible to run code from the interpreter directly instead of through a Python file.
The default Python interpreter already features command history and depending on your install, basic autocompletion.
But with alternative interpreters we can have many more features in our interpreter such as syntax highlighting, smart autocompletion which includes documentation, and more.
The next chapter will show us several alternative interpreters and their advantages.
Join our community on Discord
Join our community’s Discord space for discussions with the author and other readers: https://discord.gg/QMzJenHuJf