I followed the format of the last pages in the PowerPoint on files. I run it and it works, "%Run traffic_tickets.py" but nothing shows up in the Shell.
did you already set it to write out into a different file?
if you did do that then that could be the result in not seeing something in the shell.
Figured it out, had read and write file the same so it wiped the text file