title: How can I exit a Python3 script after 5 minutes
body: <p>I have a script that was copying data from SD card. Due to the huge amount of files/filesize, this might take a longer period of time than expected. I would like to exit this script after 5 minutes. How can I do so?</p>