Friday, May 25, 2018

CLASS 03: HOW TO INSTALL VIRTUAL ENVIRONMENT?

After installing Python and PIP on your PC then verify whether Python is working in PowerShell too?


Steps involved in installation:

  • Search for PowerShell using the search box on your Windows PC/Laptop beside the start button as shown in the above image.
  • Once you see the Windows PowerShell app then right click on it and open it by 'Run as administrator' only.
  • Wait for few seconds to load the PowerShell window.
  • Then type python -V and hit enter. Then it should show the  following?:
  • If typing python -V fails then try:
      • Restart Computer
      • Uninstall python and redo the python installation as per my blog CLASS 02.
      • Next, to find whether your un-installation was success or not? Type pip freeze

        • If you see The term 'pip' is not recognized as the name... then you did the un-installation correctly. Otherwise, you're not correct. repeat the process for successful un-installation
  • After all, if you have successfully installed python, PIP & also python -V and if it is working fine then type pip freeze to see the following screenshot:







      Tuesday, May 22, 2018

      CLASS 02: HOW TO INSTALL PYTHON,PIP AND SETTING ENV VARIABLES?

      1. How to install Python & PIP?
      2. What is PIP?
      3. How to set ENVIRONMENT variables?
      4. How to uninstall Python & PIP
      __________________________________________________________


      1. How to install Python & PIP?

      • Open google chrome or any browser as your wish
      • Type python download and search for the following link in the search engine(Google) and select the below link:
      • Open the above shown link and got to downloads tab on the PYTHON OFFICIAL WEBPAGE
      • There select the below shown button to download the latest python software
        (This may be different while you were viewing this video as this was recorded in May 2018)
      • Click the button (Download Python 3.6.5) and install as shown in the below video.

      2. What is PIP?

      • PIP is an official package manager for python.
      • By using PIP on command prompt, we can easily install all the required packages for our python programming like:
        • Selenium module package
        • Beautiful soup module package
        • L.X.M.L. module package etc.
      • To know more, how to install and uninstall PIP watch the below video.

      3. How to set ENVIRONMENT variables?

      • Open the python installed folder on your PC/Computer then copy its folder location and also copy the SCRIPTS folder location with in it to a notepad file.
      • Open file explorer and then right click on the THIS PC on the left pane and select PROPERTIES option and then select ADVANCED SYSTEM SETTINGS
      • watch the following video for more details.

      4. How to uninstall Python & PIP?

      • Before uninstalling python software it’s a best practice to uninstall all the packages which was installed using PIP
      • Next uninstall the Python software.
      • watch the following video for more details

      *************************************************************************

      Watch the below video for more details on the above program:



      *************************************************************************

      CLASS 01: What is PYTHON or its introduction or history?

      Python is one of the best and easy programming languages.
      Python is easy to pick up whether you're a first time programmer or you’re an experienced with other languages. 


      These are the following reasons why people use python rather than anything else:

      • Friendly and Easy to Learn
        • Python community hosts conferences and meetups, collaborates on code, and much more. Python's documentation will help you along he way, & the mailing lists will keep you in touch.
      • Open-source software
        • Python was developed under an OSI-approved open source license, making it freely usable and distributed, even for commercial use. Python's license is administered by the Python Software Foundation.
      • Different types of applications
        • Python Package Index (PyPI) hosts thousands of third-party modules for Python. Both Python's standard library and the community-contributed modules allow for endless possibilities.
          1. Web and Internet Development
          2. Database Access
          3. Desktop GUIs
          4. Scientific & Numeric
          5. Education
          6. Network Programming
          7. Software & Game Development




      *************************************************************************

      Watch the below video for more details on the above program:



      *************************************************************************