Python Tutorial #1 – Getting started with Python

Python is of course the language of future, You can do almost anything with this great language, This open source language is have a big community and have developed countless libraries to support any kind of programming needs.

I am starting a new series of python tutorial and will be posting weekly here. There is no perfect time to start anything. if you have not yet started learning Python, this is the time to get your hands into some real programming.

Why you should learn python?

Python is high level, Object oriented programming language, It is also a procedural language, Big companies like Google, Facebook, Dropbox, Netflix are using python to develop their tools, Along with them thousands of small companies have started implementing python programming. there is big job market if you are skilled with python

Apart from that,Most of the packages in Python having Apache, MIT or BSD licenses, it means you can commercialize your application (You will be the application owner) and make money without any licensing issues

How to get started?

First thing first, You need a place where you can write your “Hello world!!” program. there are few IDE ( Integrated development Environment) or you can say code console are available to write python code. We will be using Jupyter Notebook or Spyder.

Where to download your tools from?

For using Jupyter Notebook or Spyder, Please visit this link. This will start downloading the latest version of Python and other required tools. Once .exe file is downloaded, just follow the wizard and it will install the IDE and Python in your computer. if above link doesn’t work, please use this one.

Once installation is done, you will see these tool in your windows options

Python Tutorial

Now, you have all setup, you have got python installed and you have your code console to write python codes. So, you have three IDE here you can use

  1. Visual Studio Code – Provided by Microsoft, If you are a C# developer, this IDE will give you the same experience, intellisense in this IDE is awesome.
  2. Spyder – You can also use Spyder to write your python code. this one have better layout to write and debug your program. better shortcuts for programming experience.
  3. Juypter Notebook  – This is a web browser based IDE. This one is nice to see the data result in good manner instantly and in anywhere in the program.

Anaconda Navigator – You have hell lot of things in Anaconda navigator, it provides you websites link where you can see things like libraries documentation, Python Tutorial, R tutorial , basically everything what your data needs to get organized and able to tell you story.

Anyway, it doesn’t really matter which IDE you use. what matter is to learn how to code in python. So, Second thing is install the required package or libraries in your programming environment. here are two ways you can do it.

  1. Open Anaconda Navigator – Open up anaconda navigator, It is an interactive mode  to install python packages.
    1. Goto Environments tab – Right side you will see a search package text box, just enter the package name you want, it will show you that package in the the list below, if it is checked in the list it means it is installed, if not, just check the checkbox and hit apply at the bottom. it will install that library.
  2. By Using Anaconda Prompt – It is command mode to install python packages. there are couple of commands that you can use.

This command will install the package you specify but it does not install the packages which the main package is depends on.

      pip install PackageName

This will install the packages as well as the dependency packages too.

      Easy_Install PackageName

if both above doesn’t work, try this one.

     conda install -c conda-forge PackageName

That’s it for now, rest in the next post. Thanks for reading, subscribe to the newsletter to get the update form IT Chat.

How to read and manipulate data in python

1 reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *