Python Flask sample for windows service registration.
- pywin32 - Python for Windows Extensions
- install pywin32
- edit win32_service.py to modify
svc_name
andsvc_display_name
- admin cmd open
- service install:
#python win32_service.py install
- check service:
#sc query svc_name
- You can stop:
#sc stop svc_name
- If you want to delete this service:
#sc delete svc_name