Recently Daoteng Python's own development tools are idle, very unaccustomed to use, or use eclipse to write a python project convenient (auto-completion, intelligent error, debugging convenience), the following is how to use Eclipse to write Python code it ~
1, install the JDK, install eclipse, these will not repeat ~
2, install Pydev plug-in, method one: Open eclipse->help->install new software->add add plug-in name and download path, and then follow the instructions, Elipse automatically installed, Restart eclipse after the installation is successful; method two: Download Pydev2.2.0.zip compressed package, after decompression there will be features and plugins two folders, respectively, the contents of the two folders are copied to the corresponding folder in Eclipse, and then restart Eclipse;
3, open Eclipse->window->preferences->pydev->interpreter-python, click on the right side of the new add the Python path installed, and then click "Apply" is OK, Here's how to create a Python project.
4. New A Python project, then add a python file, enter: Print ("Hello world!"), right-click the run as->python run, console output: Hello world!
Well, Eclipse writes the Python project that's the easy way to write a little bit.
Eclipse Development Python Project