Monday, 15 December 2014

Intro: set up and a few stuff.

Hello and welcome to Python. I'll take you through Python as a learner too. Python is such a dynamic language that is very easy to fall in love with. I shall not bore you with "About Python". However, if you'd like to know more about Python I suggest you visit https://www.python.org/ . For the record, Python is very easy to learn. And can run on any platform.

 So let's get to it:
In this part we shall do the set up.

  1. You'll need a Python interpreter(if you don't have one from https://www.python.org/downloads/  or alternatively(I recommend) http://dl.algorete.org/loopy/ALGORETE-Loopy-Windows64_full.exe or http://dl.algorete.org/loopy/ALGORETE-Loopy_Darwin64_full.sh or http://dl.algorete.org/loopy/ALGORETE-Loopy_Linux64_full.sh 
  2. Once you have that, typing "python" (without the quotes) on powershell-for Windows users should return the python version and invoke python IDLE on powershell (cool huh?).
  3. It's a great thing running python from IDLE but it gives you a controlled environment and you'll get thrown off when you encounter heavy stuff such as scipy, numpy, Kivy etc, so i recommend an IDE the best I've used so far- and what I'll be using is Jetbrains Pycharms from https://www.jetbrains.com/pycharm/download/


The above steps helps you set up python. In case of any problems please comment.

 For your first program on IDLE type the following after the >>> signs  and press enter: 
        print ("Hello Python")
Next post we'll get down to some coding.


No comments:

Post a Comment