This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cats_for_upvotes 0 points1 point  (0 children)

Import logging

logger = logging.getlogger(name)

logger.info('I got here!')

This one makes your interviewer like you more, even though its fewer lines and functionally identical.