Basic key_logger in python