Monday, 14 March 2016

How To Start Programming With Python.

How to Start Programming with Python
  













Hello every one this is Favor Moses, and this is going to be a python tutorial series for absolute beginners.
First of all download the appropriate python for your your computer and just install it because it has a straight forward installation, you can download version 3.5.1 or any latest one by the time you are reading this tutorial.
After you install python it comes with a default editor called idle. You can easily get it from the search box at the bottom of the screen , you can just type idle and the python shell will come up.
This is the default editor that come with python and you will give  a startup script, go to file and under it, enter new file and this is where you can type whatever you want your python  program to be.
However, idle is not a very good IDE for python because it has a limited support for doing a lot of things that you can find useful in IDE especially in a language like python that is wide space limited meaning it is not eliminated by columns or semi-columns or any thing,  it is eliminated by tabs and spaces. So I think idle is not a very good IDE for python. So for that reason, you are much welcome to use idle, everything will work fine, but I'm not going to use Idle for this tutorial. I am going to use note pad ++ which can be downloaded at notepad++.org, Again with viewers description and just go and download and install that. So next we need to configure the environment for python to make it easy for us to run scripts outside of idle.
You right click on  to computer, go to properties, go to advanced system settings and then at the button under the advance tab, you click on environmental variable, then under system variable, you create a new one and call it python. So the variable name will be python and the variable value will be whatever you installed python with. You go to local disk and you search for where python exe is, and anywhere python exe is located, that is what you should put as your variable value, after creating it, click OK, and close out all the tabs and that is how you download and install your python and notepad++. Watch for my next tutorial and you will see how to command prompt (cmd) and notepad++. Thanks for reading and have a good day. Bye.
https://www.python.org/downloads/. Enter link to download python.
https://notepad-plus-plus.org/download/v6.9.html. Enter link to download notepad++.

No comments:

Post a Comment