A Python IDE is installed on Mac for easy py scripting;
It is recommended to install Pycharm Community Edition, free of charge, basic function enough.
:https://www.jetbrains.com/pycharm/download/# (download OS X version, community version, free)
Open Pycharm, configure on Python
Pycharm "Perferences" Project untitled Project Interpreter, select the system corresponding to the Python installation directory, the following box will correspond to display the installation of the package list, which contains the appium needs of the package;
650) this.width=650; "src=" http://note.youdao.com/yws/res/1583/WEBRESOURCE607b8e0aa35bcf4bc5c7da75c182809b "alt=" webresource607b8e0aa35bcf4bc5c7da75c1828 "/>
Configuration is complete, click OK!
======== Sample Demo ===============================================
Import Sample code: (https://github.com/appium/sample-code)
Next, open the existing Python project for editing and running
Navigation bar, file "open,
Select a directory for the Python project, such as the Python directory in the Sample-code provided by Appium, when opened, as shown in
650) this.width=650; "src=" http://note.youdao.com/yws/res/1592/WEBRESOURCE2b3280bd49ecf4b0ab43d761015f4353 "alt=" Webresource2b3280bd49ecf4b0ab43d761015f4 "/>
In the case of launching the emulator and Appium server, right-click the. py script and go directly to run. Visualization of running results.
(d) Mac installation and configuration Python IDE