Day 3 - Daily Dev Diary
So, today I woke🌇 early compared to yesterday and was done with my Yoga🧘♂️ and exercise for the day by 🕗 8 am. Ate breakfast while watching Microsoft's intro to Python playlist . It's very good for learning the basics of Python, and if you are not a beginner then, you can have a quick look through the playlist to refresh🔁 your basics(like I did). Some of my key takeaways were - By default, packages are installed globally Virtual environments can be used to contain and manage package collections Creating a virtual environment # Install a virtual environment pip3 install virtualenv # Windows systems python3 -m venv <folder_name> # OSX/Linux (bash) virtualenv <folder_name> Conventionally, <folder_name> = venv Using a virtual environment # Windows systems # cmd.exe <folder_name>\Scripts\Activate.bat # Powershell <folder_name>\Scripts\Activate.ps1 # bash shell . ./<folder_name>/Scripts/activate # OSX/Linux (bash) <fold...