How to integrate Python IDE. Next, let's take a look at how the problem has been affected. In fact, when I write code for a book, I don't need IDE, even when I write Java code. Many times, I also want to use Python IDE to write some code.
However, when I use Eclipse, I find that it requires you to put everything in a package. However, in the first chapter of Think in Java, I have not introduced the concept of the package. So I can't put all the code in a package, so I can't use the Python IDE of Eclipse. Although I heard that Eclipse has integrated Ant, so the latest version should be able to import my code. The code is claimed by the automatically created Ant file ).
- Understand how to create a program with multiple threads in Python
- Exploring the Python Object System
- Detailed introduction to features of Python development tools
- Use the Python standard library to modify the search engine to obtain results
- Install PyDev in Python plug-in
In addition, I often typed every line of code by myself, so I haven't had to use Java IDE yet, although it is very attractive. It was learned from the population of Java Posse that Matise, a GUI Builder integrated in Netbeans, finally had comparable functions with VB 10 years later. In addition, in general, Automatic completion and refactoring also generate a general automation is very helpful for a project, rather than an Entry Manual.
With the development of Python IDE, there are not so many debates about an IDE. Most people I know write Pythong code in a common editor. I think the main reason is that Python is more sophisticated. I often give an example of reading each row from a file. In Python, I can write like this (without thinking too much ):
- for line in file("filename.txt"):
- print line
In Java? It's a research project to open a file. in the fourth version of Thinking In Java, I added a public class called TextFile to simplify the processing process, so you can use the following Java code:
- for(String line : new TextFile("filename.txt")){
- System.out.println(line);
- }
You may easily remember the code above, but it is not a standard Java usage. The key problem is that Java is a redundant language, so you have to use an IDE. For Python, you can use the dir () function to understand the usefulness of a class, and you can also search for documents at any time to understand what a method is, instead of simply using that method. In my experience, it is no good to try to use a Python IDE with automatic complementing functions, and this judgment seems to be correct for those around me.
I feel that the inherent nature of Python IDE makes it very efficient, while for Java, your IDE helps you improve your efficiency.
However, I am also interested in the Python IDE that people are willing to use, such as the Eclipse plug-ins). No matter what they are, they can be used as long as they increase your efficiency.