Getting started with Python in Windows

Hey guys!

I just started learning python few months back and falling in love with it each day. I am trying to help as many people as i can, to learn python without searching information from countless resources. It’s a journey, a process which we can share together and learn along the way. We all have a way to give back to the society in number of ways and i feel teaching is one of the most interesting way to share your experience and knowledge with everyone.

You might be thinking why is this the right place to learn python?

It is the RIGHT PLACE because I have been in your shoes just some time back and I myself have gone through the struggles which I don’t want you guys to go through. I can be more understanding to your problems more than the other experienced people will.

This might take more than couple of blogs to cover and get you started with python, so bare with me, and follow my content. Don’t expect to learn anything in an hour, a day, or even a month. Everyone has their capacity, so learn at your own pace.

Now, let’s dive into the ocean of knowledge, we came here looking for.

What is Python?

Python is an interpreted high-level programming language for general-purpose programming. It is used by small scale and large scale industries like google, facebook for different purposes. It has extensive library support, very large user base ( huge community ), simple syntax and is easy to learn. It is used in various fields programming, web development, server-side programming, data analytics, machine learning, deep learning, etc.

First and foremost thing you need to start learning python is to set it up properly.

Setup python 3 :

Go to python download link and download the latest LTS (latest stable version)  version depending upon what OS (operating system like windows, mac os, linux, etc ) you have on your computer.
P.S. when this post is written, latest version is python3.7

For Windows users :

  1. Before downloading, make sure to check your OS architecture ( 64-bit or 32-bit )
    • Go to search bar, type System Information and press enter
    • Look for System Type, there you can find you OS architecture to download correct version
  2. Open python installer,
    • Select – Add python to path
    • Select Customize Installation
    • Select pip (others, leave as default)
    • Click next
    • Tick/Select:
      • Install for all users
      • Add Python to environment variables
      • Create shortcuts for installed applications
      • Precompile standard libary
    • Customize Install Location if you want to,
    • Hit Install
  3. Verify installed python in powershell or cmd ( command prompt )
    • Type python -V in powershell or cmd, if something comes up showing installed python version, then congratulation you have successfully installed python in your computer.
      python version check cmd picture
    • If not, then restart your computer and uninstall python and redo the steps.
  4. Now type python in command line and wait for the fun to begin…

There are various ways to start writing python code but usually people prefer to use an IDE ( Integrated development Environment ) with various tools at hand.

There are many good IDE’s out there like Atom, VS Code ( Visual Studio Code), Sublime Text, PyCharm, Jupyter Notebook.

I myself am using VS Code for python development work. You can choose whatever you are more comfortable using.

When you install python, it installs IDLE application as well, which can used to learn python initially and as you start getting more grasp on the language, you can start using an IDE.

That’s it for today.

See you guys soon!!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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