GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing raw.githubusercontent.com — raw.githubusercontent.com # APIJSON测试 - Python
### 1.下载后解压APIJSON-Demo工程
[打开APIJSON-Demo的GitHub主页](https://github.com/APIJSON/APIJSON-Demo) > Clone or download > [Download ZIP](https://github.com/APIJSON/APIJSON-Demo/archive/master.zip) > 解压到一个路径并记住这个路径。
### 2.运行Python脚本 #### Windows 假设解压路径为 D:\Downloads 打开 CMD命令行窗口 cd D:\Downloads\APIJSON-Demo-master\APIJSON-Python python test.py 如果失败,一般是因为 "python 不是内部或外部命令",则执行: set PATH=%PATH%;C:\Python27 其中,Python27对应2.7版,如果是其它版本请修改下数字,例如3.6版就改为Python36。 然后重新执行: python test.py #### Linux 或 Mac OS 假设解压路径为 /Users/Tommy/Downloads 打开 Terminal终端窗口,然后分别执行: cd /Users/Tommy/Downloads/APIJSON-Demo-master/APIJSON-Python python test.py ### 3.测试接口
看 命令行控制台。 |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |