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 :
- Before downloading, make sure to check your OS architecture ( 64-bit or 32-bit )
- Go to search bar, type
System Informationand press enter
- Look for
System Type, there you can find you OS architecture to download correct version
- Go to search bar, type
- Open python installer,
- Select – Add python to path
pip(others, leave as default)
- Click next
Install for all users
Add Python to environment variables
Create shortcuts for installed applications
- Precompile standard libary
- Customize Install Location if you want to,
- Verify installed python in powershell or cmd ( command prompt )
python -Vin powershell or cmd, if something comes up showing installed python version, then congratulation you have successfully installed python in your computer.
- If not, then restart your computer and uninstall python and redo the steps.
- 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!!!