With the old Ziko Python integrated Development Environment (IDE) _python

Source: Internet
Author: User
Tags version control system visual studio in python

When Python is installed, it is actually ready for development. Let's start writing the first line of python code.

Memorable moment: Hello world

If you are using windows, please open CMD and execute python.

If it is UNIX-like, run the shell and execute python.

The following will appear:

Python 2.7.6 (default, Nov 13 2013, 19:24:16)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Enter the following after >>> and press Enter. This is the moment to witness the miracle. From this moment on, you who have never understood programming have stepped into the ranks of programmers. No matter if your job is programming or not, you are already a programmer. The sign is that you have greeted the world with code.

>>> print "Hello, World"
Hello, World
Every programmer has experienced this great moment, and programmers who do not experience this great moment are not great programmers. In order to commemorate this great moment and understand its greatness, the following decomposition is performed:

Note: In the following decomposition action, a symbol is used: #, which is the pound sign above the number 3 on the keyboard. You can get it by pressing shift and then 3. This symbol, in Python programming, means a comment. The so-called comment is not executed in the computer, just to explain what a certain line of statement means.

#See the ">>>" symbol, indicating that python is ready, and you can give her instructions to her what to do now.
>>>

#print means print. This is the meaning here, is to ask python to print something
>>> print

# "Hello, World" is the printed content. Note that the double quotes in the volume are in English. The quotation marks are not the printed content, they are equivalent to a package, and the printed content is wrapped and handed over to python.
>>> print "Hello, World"

#Result of the above command execution. Python received what you asked her to do: print Hello, World, so she executed the command honestly, without any change.
Hello, World
Congratulations, great programmer.

With a smile: A programmer felt that calligraphy was too bad, so he decided to inherit the glorious cultural tradition and bought a pen, ink, and paper. On a certain day, I started practicing calligraphy. Lay out the paper, pick up the pen and dip it in ink, and write two typings on the paper: Hello World

Since then, I have entered the ranks of programmers, but do you have any feeling from the officials? Is this tool that programmers use just to print the Hello or World cmd or shell, is it too crude? Look at Photoshop ’s sister ’s word, the administrative sister ’s word, the cashier ’s sister ’s Excle, and even the guy sitting behind the boss ’s table used a PPT to play a new idea that he did n’t believe. Is our great programmer, Would you write such a worldly code with such a simple tool?

of course not. Who developed the software? programmer. Programmers will definitely create useful tools for themselves first.

IDEs are tools for programmers.

Integrated Development Environment

The full name of the IDE is: Integrated Development Environment, referred to as IDE, also known as Integration Design Environment, Integration Debugging Environment, translated into Chinese is called "integrated development environment", and it is called "integrated development environment" in Taiwan. It is an application that assists program developers in developing software.

The following is a direct copy of the instructions on Wikipedia:

IDEs usually include a programming language editor, an automatic creation tool, and often a debugger. Some IDEs include compilers / literal translators, such as Microsoft's Microsoft Visual Studio, others do not, such as Eclipse, SharpDevelop, etc. These IDEs compile code by calling third-party compilers. Sometimes the IDE also includes a version control system and some tools for designing graphical user interfaces. Many modern IDEs that support object orientation also include category browsers, object viewers, and object structure diagrams. Although some IDEs currently support multiple programming languages (such as Eclipse, NetBeans, Microsoft Visual Studio), in general, IDEs are mainly tailored to specific programming languages (such as Visual Basic).

I do n’t understand, it ’s okay, look at the pictures and get to know each other. The so-called picture has the truth.



The image above shows an IDE provided by Microsoft called Microsoft Visual Studio. Programmers programming in C # use it.



The picture above shows an IDE called XCode that appears in Apple computers.

To learn more about the IDE, I recommend reading the entry in Wikipedia

English term: Integrated development environment Chinese term: Integrated development environment Python IDE

Googling: python IDE, you will find that there are really a lot of IDEs that can do python programming. As soon as there are more things, I start to feel lost. So, many people ask which IDE is better. You can take a look at this question, and also compare the many IDEs.

By the way, recommend a very good development related website to the audience: stackoverflow.com
Questions can be asked here, and answers can be viewed. In general, if you have any questions, you can search here first, and you can find very satisfactory results, at least very enlightening.
Sometimes in some countries, there may be places that cannot be accessed and need scientific Internet access. Good things will not be made easy for you, nor will it be available to anyone.

So what is good for a zero-based learner?

Since it is zero-based, don't mess around, just use IDLE that comes with Python. The reason is: simple.

Windows friends operation: "Start" menu-> "All Programs"-> "Python 2.x"-> "IDLE (Python GUI)" to start IDLE. After starting up, I probably see such a picture



Note: The version displayed in the interface seen by the official is different from this figure, because the installed version is different. It looks almost the same.

Users of other operating systems can also find the idle program, and after starting, the same picture as above.

All our later programming is done here. This is the first IDE used by great programmers.

Sharpen the woodworker by mistake. The IDE already exists, and great programmers are about to start doing great programming. Let's look at the decomposition next time.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.