python实现编写windows服务 - 三只松鼠 - 博客园
参考上面那篇文章,需要安装python3.6 执行命令 pythonservice.exe /register 出现却是dll补全即可,但是出现
Registering the Python Service Manager...
Registration failed as sys.winver is not available or not a string
这种情况,不用理会,start 服务即可。此坑爬起来花了一个晚上!