python-mecab-cgi:Python MeCab CGI:针对XREA优化

时间:2021-02-17 23:59:54
【文件属性】:
文件名称:python-mecab-cgi:Python MeCab CGI:针对XREA优化
文件大小:3KB
文件格式:ZIP
更新时间:2021-02-17 23:59:54
Python Python MeCab CGI:针对XREA优化 安装 将index.py放入XREA服务器。 XREA服务器已经安装了Python3和MeCab。 设置文件权限: $ chmod 755 index.py 安装mecab-python3 : $ python3 -m pip install mecab-python3 --user 创建.htaccess并编写以下行以启用Python CGI: AddHandler cgi-script .py 如何使用 浏览器 http://example.s0.xrea.com/index.py 使用查询字符串: http://example.s0.xrea.com/index.py?q=Text : http://example.s0.xrea.com/index.py?q=Text 使用curl $ curl 'http://exa
【文件预览】:
python-mecab-cgi-master
----.gitignore(20B)
----LICENSE(1KB)
----.github()
--------FUNDING.yml(65B)
----README.md(704B)
----index.py(2KB)

网友评论