Photo by Marius Masalar on Unsplash
Blog,  Programming,  Python

Python – A review of my programming knowledge in Python language starting to zero point one

Learn Python programming language without getting headache is very simple.

Here in this post especially I have to talk about Python language. I am not to describe a python as a snake if you thought it was. Likewise is a little review of my knowledge of Python language. I will write in this post the most important to learn a programming language. Provide that will be simple to understand. In order to pick up something how to write the code with Python.

In the first place, a little introduction about Python “is an example of a high-level language; other high-level languages you might have heard of are C, C++, Perl, and Java” referenced Think Python Book. As you know there are low-level languages right, but I  do not write now about those.

Let say how to install Python in our operating system like Windows because absolutely my income cannot afford a new MacBook Pro. The recommended version is Python 3.

  1. The first step is to download from this link
  2. Download the latest release of Python: Latest Python 3 Release – Python 3.7.2
  3. I choose Windows x86-64 web-based installer then Run the installer
  4. Fill the box Add python.exe to Path.
  5. Otherwise, go here and use this procedure is very simple to follow

After download and installation of Python. Together we will learn this programming language. Don’t worry is not as difficult as you think. However, learn how to programming is our goal here so let me do my best to review my programming with Python.

To start writing the first code we have to find where is the IDLE and open it. The IDLE is the integrated development environment (IDE) for editing and running Python 3. On the other hand, we do not need different IDE like Visual Studio Code is the most used code editor. When you are interested to develop your program or game I suggest you VSC. Before diving in our first program, it is important to know the fundamental of programming.

Why I have to know what is a program?

After all, a program “is a sequence of instructions that specifies how to perform a computation” referenced Think Python Book. In the same fashion of writing a recipe. For the purpose of making mathematical operation, solving system of equations and finding roots of a polynomial and symbolic computation. Example, you can make a librarian program to input, output and delete data in a database.

List a few basic instructions:

  • Input: An input typed with my keyboard and I can do make in other devices such as a scanner, camera, webcam and so on.
  • Output: All the things you have on your screen is the output and you can read also in your printer or other devices.
  • Math: We can write operations like arithmetic or more difficult mathematical operations.
  • Conditional execution: Check for certain conditions and execute appropriate sequence of statements.
  • Repetition: Loop something while is false, do that thing repeatedly.

“Believe it or not, that’s pretty much all there is to it. Every program you’ve ever used, no matter how complicated, is made up of instructions that look pretty much like these. So you can think of programming as the process of breaking a large, complex task into smaller and smaller subtasks until subtasks are simple enough to be performed with one of these basic instructions.”

referenced Think Python Book

When you write code and then is not working?

In programming is like you are writing a sentence with good grammar. OK, I am not good enough with my grammar but I am trying right now. Here comes the world of debugging. Debugging is detecting or looking the bugs in your code. It is like hunting the bugs in the code you wrote in your program. Bugs is not what are you thinking it is programming errors.

Let see the three kinds of errors can occur in a program: syntax errors, runtime errors, and semantic errors. It is useful to distinguish between them in order to track them down more quickly” referenced Think Python Book.

Believe in yourself! Have faith in your abilities! Without a humble but reasonable confidence in your own powers you cannot be successful or happy.

NOrman vincent peale

If you want to buy the book Think Python

Leave a Reply

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