Posts

Showing posts from March, 2022

How to use Python Virtual Environment - venv

Image
 Virtual Environment python virtual environment -venv What is Virtual Environment? Virtual Environment - we will call it (Virtualenv) - is an isolated environment where you can download packages away from python system packages. This article is about venv which is a built-in python package, and for windows users. How to simply use virtual environment? * To create a virtual Environment folder: >> python -m venv folder_name -> It's a good practice/common convention to add venv to the folder name to differentiate it from other folders. OR: >> python -m venv Exsisting_folder_name\new_venv_folder_name * To activate/move inside the Virual Envirnment folder: >> folder_name\Scripts\activate.bat OR: >> Exsisting_folder_name\new_venv_folder_name\Scripts\activate.bat - You will notice the name of the Virtual Environment folder in the beginning of the folder path.  - Now, you're working on an isolated folder which has only the default python global version ins...

Parts of Speech - Verbs

Image
What is a Verb? Parts of Speech - Verbs A Verb (v) is a word that shows action, occurrence, or state of being. The Verb describes what the subject (Noun) is doing. I run everyday because I love to be in a good shape. She works at a factory My car needs an oil change. The wealthy man bought a mansion. He apologized to her many times. How many types of Verbs and what are they? There are 11 common types of verbs - some people say they are 7. The main 7 Types of Verbs: 1- Action Verbs: Words that describe actions. Action verbs can also be called Dynamic or Physical Verbs. Action Verbs Examples of Action Verbs: work - chase - run - play - help - swim - jump - write - ignore - try Please open the door. I always laugh when I hear his jokes. 2- Stative Verbs: Stative or state verbs are words which describe thoughts, emotions, feelings, opinions, senses, possessions, perceptions, measurement,.. . stative verbs in English Examples of Stative Verbs: want - own - have - be - need - love 🔔...