Displaying a text during game (Python)

How can I display a text during a game? I created a timer program with python but I want to see the timer while playing the game for example like top left corner. Similar to MSI Afterburner program. Like this: