I wrote in my previous article about setting up a Selenium + Eclipse + Python environment in windows. Now I think this Eclipse is too big, too cumbersome, and slow to restart, like a Python script in a lightweight language, there is no need to use such a large tool, right? So today I got an UliPad to write a Python script.
1) download:To install software, we have to download software first, UliPad official http://code.google.com/p/ulipad/downloads/list
Download the appropriate system.
2) preparations before installation:I just downloaded it. Here is an episode, but it is very important because UliPad. this IDE itself is written with Python + wxPython, small, full function, especially suitable for beginners of Python, so to install wxPython http://www.wxpython.org/download.php#stable
A module B. comtypes is also installed.
: Http://surfnet.dl.sourceforge.net/project/comtypes/comtypes/0.6.2/comtypes-0.6.2.win32.exe
3) installation:After installing the two things wxPython and comtypes, you just need to install the UliPad. Because they are all exe files, you don't have to talk about it. It's just as simple as installing a QQ, the installation will be laughed.
4) configuration after installation:Go to the path Ulipad-> edit-> parameter-> Python-> set the Python interpreter-> Add the input interpreter path. You can manually select the python.exe file description under the pythoninstallation folder and set it to 2.7.1 console.
Add pythonw.exe under the pythonfolder and describe it as 2.7.1 window. Then you can run the python program. For example:
5) the following issues may occur:I don't know if you will meet me,
If you click the UliPad shortcut on the desktop, you only need to add-n at the end of the shortcut,
Well, if you have any questions, leave a message and I will write it into the article.