python实现WordPress文章发布-环境配置与安装

本文只是python-wordpress-xmlrpc的安装使用,在使用本文之前,还需要安装Python和Wordpress。

 

安装适用WordPress的Python第三方模块

要实现对WordPress文章的发布,需要使用WordPress的xmlrpc接口,对于python来讲,有一个专门的第三方模 块专门实现了对这个接口的管理:python-wordpress-xmlrpc

安装方法:

  1. 使用管理员方式打开命令行,前提是Python已经安装。
  2. #命令行下用pip install 直接安装(pip install python‐wordpress‐xmlrpc)
  3. 安装过程(

C:\WINDOWS\system32>pip install python-wordpress-xmlrpc
Collecting python-wordpress-xmlrpc
Downloading python-wordpress-xmlrpc-2.3.zip (19 kB)
Using legacy setup.py install for python-wordpress-xmlrpc, since package ‘wheel’ is not installed.
Installing collected packages: python-wordpress-xmlrpc
Running setup.py install for python-wordpress-xmlrpc … done
Successfully installed python-wordpress-xmlrpc-2.3)

相关文档地址:http://python-wordpress-xmlrpc.readthedocs.io/en/latest/ref/client.html

未经允许不得转载:萌萌guo angline - Apprentissage » python实现WordPress文章发布-环境配置与安装

赞 (1) 打赏

评论 0

Protected with IP Blacklist CloudIP Blacklist Cloud

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏