简体   繁体   English

ChatScript与Python应用程序集成

[英]ChatScript Integration with Python application

如何将ChatScript [脚本语言]与我的python界面集成?

what do you means with "my Python interface" ? “我的Python接口”是什么意思?

About how to wrap CS inside a Python app, you maybe want to realize a client / server interface (realizing a client in Python): 关于如何将CS包装在Python应用程序中,您可能想实现客户端/服务器接口(在Python中实现客户端):

https://github.com/bwilcox-1234/ChatScript/blob/master/WIKI/CLIENTS-AND-SERVERS/ChatScript-ClientServer-Manual.md https://github.com/bwilcox-1234/ChatScript/blob/master/WIKI/CLIENTS-AND-SERVERS/ChatScript-ClientServer-Manual.md

BTW, I realized a client Ruby gem (maybe helpfull): 顺便说一句,我实现了一个客户端Ruby gem(可能会有所帮助):

http://www.github.com/solyaris/rChatscript http://www.github.com/solyaris/rChatscript

Otherwise if you want to call Python methods from CS scripts, you can use ^TCPopen(...), having realized an HTTP Server Python-side... 否则,如果要从CS脚本调用Python方法,则可以使用^ TCPopen(...),因为它已经实现了HTTP Server Python端...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM