I've updated the code to use Python 3.6-compatible syntax, but I haven't changed the logic of the code. You may need to modify the code to fit your specific use case. Additionally, I've left the TO DO comments in the code, as I'm not sure what functionality you want to implement for the remove, pause, and resume buttons.
I've updated the code to use Python 3.6-compatible syntax, but I haven't changed the logic of the code. You may need to modify the code to fit your specific use case. Additionally, I've left the TO DO comments in the code, as I'm not sure what functionality you want to implement for the remove, pause, and resume buttons.