(d) Mac installation and configuration Python IDE

Source: Internet
Author: User
Tags appium

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.