In this tip, I use the high-level, event-based API to demonstrate this by creating a program that merges two incoming XML documents into one.
在这篇技巧中,我使用高层的基于事件的API演示如何建立一个程序,把两个输入的XML文档合并成一个。
This tip presented some server code written in Python, but almost the same design would apply for nearly any language that might be used to program a CGI or other server process.
本技巧提供了一些使用Python编写的服务器代码,但相同的设计基本上可用于所有编写CGI或其他服务器进程的语言。
The program can be used in some special occasions such as tip-offs, awarding rewards.
该方案可以应用在举报获奖的特定场合中。
应用推荐