Friday, 20 October 2017

Python

Programming languages are something important in our digital era nowadays. After I did a little research on what kind of programming languages that I should learn. The answer is PYTHON. Therefore, I dedicate a special page in my blog to discuss and elaborate about python on how we can master this programming language effectively.
The first question came into my mind is why Python? These are the reason why I choose Python:
1. Python is high level programming language. We don't need to make variables or argument declarations. It is straight-forward coding.
2. You don't have to do a coding from scratch. Some people certainly have developed it for you. What you have to do is revising it and update to suit your intention.

Ok, lets start with tools you need to have to run python. It depends on what kind of operating system you have, it will slightly difference the methodology. Most of programmers they prefer to use Linux which could be true. Myself use Linux, it is usually I am working using company PC which is not allow to install any softwre without permission from IT department. Therefore, I installed Virtual Machine using Linux to explore Python.
1. Install Python
No need. Linux already bring along the python.
2. Environment
So, you have language (i.e. python) but you cannot use it until you have environment or place to understand the language. I use miniconda, the mini version of anaconda.

To install miniconda:
donwload the file from https://conda.io/miniconda.html
open your terminal and direct to download folder
cd donwload/ and install it


4 comments:

  1. HI! I need to download data from earth2observe portal. I am beginner in Python coding. How do I introduce a shp,shx and dbf file in my script as mask to get data withing the geometry of that shapefile.

    Regards,
    Unwer

    ReplyDelete
    Replies
    1. This link explains quite clear. You can refer to it.

      http://www.earth2observe.eu/files/e-learning/Lesson%204%20-%20Using%20the%20E2O%20data%20for%20drought%20analysis%20-%20Python%20Notebook.pdf

      Delete
  2. HI! I need to download data from earth2observe portal. I am beginner in Python coding. How do I introduce a shp,shx and dbf file in my script as mask to get data withing the geometry of that shapefile.

    Regards,
    Unwer

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete