[Software] Hardware Engineers of understanding Python

Now the language and development tools very much, although it is a good thing, but let beginners feel at a loss, on this point, I still yu phrase "No matter how much you little sister in the world, only recognize a Lin." Select an introductory language, and then spread. For example, today we choose Python.
Some people ask, why not choose another language, select Python it? In fact, not so much why. Select Python, because it is simple, unlike java then of eight children. Java is a language of a gentleman, not the aristocracy, nobility is said to Fortran, this gentleman would like to pay attention to form. Python is not the same, is a businessman, how easy how to, so first select Python.
General hardware engineers have programmed some basic c language, but software engineers and compared, or look stretched, but enough, we can first Python development environment to build up.
The first step, download Python3.6, this is Python compiler, must have installed, otherwise, nobody knows Python language, and c compilers same.
The second step, arguably the first step will be to write a program, the previous hardware engineers generally prefer to use Notepad to write a program, then the command-line compiler that times are different now, and we should pay attention to efficiency, so we are still under a Python ide, integrated development tools, pycharm, I recommend this. Find online tutorials installed.
The third step is to start work again. Create a Python file, then compile and run. Here is a simple little example.
print ( "!! Hello World" )
It's that word, careful not to move over c habit, no semicolon after each one (;). Further python is sensitive to indentation, the indentation that is replaced; and {}.
Now it has begun beginning.

Guess you like

Origin blog.csdn.net/wwwmagic/article/details/91793807