First, we recommend a good website for learning python.
Simple Python tutorial Swaroop, C. H. Translated by Shen jieyuan
Online tutorial URL:
Http://www.woodpecker.org.cn: 9081/doc/abyteofpython_cn/chinese/index.html
I have been studying programming for almost 20 years and seldom see such a good tutorial. Simple and clear. Most of the translation of software books is disgusting, so it is hard to hear it. If a well-known translator is waiting for someone, it is just a 50-step smile.
There is a saying on the Internet that an experienced programmer can learn python within half a day.
I tried it and it seems exaggerated. It took me about one night (three hours) to see Chapter 9th of the concise Python tutorial, which made me feel a little difficult and dizzy. I basically finished reading the syntax, go to rest.
Prepare for the first day and take a look at it again. In the afternoon of 1-2 weeks, you will certainly be able to learn it.
Then, I will compare the usage of python with c ++ and delphi.
A good integrated development environment can greatly improve programming efficiency. Therefore, I need to first find a good python development tool.
Python's own IDLE (Python GUI) Overall feels good.
Because I haven't used a development environment that explains languages for a long time. I used IDLE to input several small examples in concise Python tutorial. It seems that I have returned to 6502 of my computer at school and entered the basic language.
How to Use debugging? It's a little weird. It's hard to get started. It's not available now, and you don't need it anymore, because now I use eclipse + pyDev.
So after learning about the python syntax, 1st thought of finding a better IDE first. If there is no convenient IDE, you 'd rather not learn python.
I first saw boa constructor, a free python ide. It is said that it is so good as delphi? Hurry up and use it. I feel disappointed after using it. First, we can see an unsightly blue-colored python. The window layout is a little weird, not the same as that of delphi. During single-step debugging, the screen was flashing, as if there were some bugs. During debugging here, the single-step operation was not very good. I changed winpdb, and I felt worse.
Then, for eclipse + pyDev, it feels good. For details about the installation process, see the following section.