Windows上的安装和配置 安卓上的安装和配置 苹果上的安装和配置 Windows上的安装和配置 Windows客户端下载: Windows客户端 W

Read More…

How to convert sync codes to be async one Method1: create a future object define a callback function which will continue check future result is ready or not, future.set_result() will be invoked when future result is ready, else schedule the callback to be called again in the even loop in main function, start the callback function the first time, so it will continue executing until the future result is set

Read More…

There are two ways to use Jinja2 as Tornado’s default template engine: Inherited from mixed TemplateRendering class, and rewrite tornados’s render() function Set Jinja2 template loader as the default template loader while initialize Application For implemention 1: Please refer to: Using Jinja2 as the Template Engine for Tornado Web Framework For implemention 2: Please refer to: 在Tornado中使用jin