[Tutor] Python 3.5 console logging

Válas Péter turtle at 64.hu
Tue Dec 1 02:33:18 EST 2015


2015-11-30 22:50 GMT+01:00 Tyler Smithers <tsmithers731 at gmail.com>:

> I am doing a project for my school and i am trying to find out how to make
> a event log. But every where i look all it has is just making a text
> document and it having in their what they put in their script. But i cant
> find out how to code python into recording everything that happens when i
> run the program. And can you please help me soon because i don't have much
> time. Thank you!
>

I don't reaaly understand what you mean by "everything" (do you want a
keylogger or a complete memory dump?).
But the folks at Python.org wrote a nice howto:
https://docs.python.org/3/howto/logging.html
Does this help?


More information about the Tutor mailing list