Python for Beginners – Part 2 – Installing Python

In last article “Learning Python – Introduction To Python” we discussed what is Python and most important why to learn Python. In this article we will discuss steps to install the Python on Windows. I have Windows 10 on my laptop.

Following are the detailed steps to install the Python on Windows 10.

Python: Download page - https://www.python.org/downloads/

Figure 1: Python: Download page – https://www.python.org/downloads/

  • Run the Setup
    • Python 3.7.3 executable will be downloaded.
    • Once the executable downloaded successfully, run it as administrator as shown in below figure
 Python : Downloaded executable

Fig 2 : Python : Downloaded executable

  • Once we ran the executable, Python installation dialog appears as  
Python : Installation dialog

Fig 3 : Python : Installation dialog

  • Click on “Install Now” option as shown in above Fig.
  • Make sure Python Successfully installed
Python : Installation successful dialog

Fig 4 : Python : Installation successful dialog

  • Once Python is installed successfully, you could see the Python editor, manual, desktop app when we search for Python in “Search Windows” in task bar as
Python : Once successfully installation searching "Python" from "Search Windows"

Fig 5 : Python : Once successfully installation searching “Python” from “Search Windows”

Or, if we also go through “Start >> All apps >> Python 3.7 as

Python : Folder in Windows after successfully installation

Fig 6 : Python : Folder in Windows after successfully installation

  • Python editor / shell is installed with Python installable, we can open Python editor / shell as
Python : Opening Python shell installed with Python Setup

Fig 7 : Python : Opening Python shell installed with Python Setup

  • Once we opened Python editor it looks like as
Python : Python Sell/Editor

Fig 8 : Python : Python Sell/Editor

  • To start initially, There is help() command available to get the help as
Python : help() in Python Shell

Fig 9 : Python : help() in Python Shell

  • We could change the Python shell settings from the top tool bar – “Options >> Configure IDLE”, once we clicked “Settings” dialog box will appear as shown in below figure, where we can change the theme, text color
Python : Changing the Python shell settings - "Settings" dialog

Fig  10 : Python : Changing the Python shell settings – “Settings” dialog

  • We could also get the list of available “Python Keywords”, “Topics”, “Modules”, “Symbols”  we can us respective commands like “keywords”, “topics”, “modules”, “symbols”  as
Python : Displaying Python keywords in Python Shell

Fig 11 : Python : Displaying Python keywords in Python Shell

Note: Here, these commands are case sensitive. This means if we will use “Keywords” instead of “keywords” we will get an error as

Also, regarding Python Keywords, Topics, Modules, Symbol, we will discuss in detail in upcoming articles.

Python : error for “Keywords” - its case sensitive, it should be “keywords”

Fig 12 : Python : error for “Keywords” – its case sensitive, it should be “keywords”

  • Finally there is quit() command available to exit the shell as
Python : quit() to exit the Python shell

Fig 13 : Python : quit() to exit the Python shell

Thanks for reading 🙂

Keep reading, share your thoughts, experiences. Feel free to contact us to discuss more.

If you have any suggestion / feedback / doubt, you are most welcome.

Stay tuned on Knowledge-Junction, will come up with more such articles.

Advertisements

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.