摘要: 一、新建启动服务程序 二、将服务安装到windows 三、异常解决方法 1.开启服务的时候会出现报错“The service did not respond to the start or control request in a timely fashion”,意思是“服务没有及时响应启动或控制请 阅读全文
posted @ 2019-01-07 14:05 澄心元素 阅读(1906) 评论(1) 推荐(0) 编辑
摘要: 一、安装pyinstraller pip install PyInstaller 二、打包程序 pyinstaller.py -F -w -i tubiao.ico 文件名.py -F 表示生成单个可执行文件 -w 表示去掉控制台窗口,这在GUI界面时非常有用。不过如果是命令行程序的话那就把这个选项 阅读全文
posted @ 2019-01-07 13:29 澄心元素 阅读(5175) 评论(0) 推荐(0) 编辑
摘要: 一、模板的种类 1、变量 {{变量名}} 2、语句类{% %} 2.1 {%for i in booklist%} {{i}} {%endfor%} 2.2 {%if 10>5%} {%else%} {%endif%} 2.3 {%if name in name_list%} {{i}} {%els 阅读全文
posted @ 2019-01-07 10:00 澄心元素 阅读(163) 评论(0) 推荐(0) 编辑