用pycharm,首先得把appium导入,操作如下(否则,运行程序后会报错,没有module appium)
Settings->Project Interpreter,双击pip,搜索appium-Python-Client并安装