Tag Selected: how to execute python code