i have a custom event log called "BGT Monitoring"

i want a handler to that so i can write to this eventlog from python
hAppLog = win32evtlog.RegisterEventSource(None, "BGT Monitoring
Log".encode("ascii"))

result is: Objects of type 'bytes' can not be converted to Unicode.

what can i do?
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to