Help getting operator input to python shell script running from Automator
I'm running a Python script from Automator that reads a text file, renames and moves files. Automator has three steps: Ask for Finder Items (A text file) and Ask for Finder Items (Folder with images) Run Shell Script. It works perfectly. Now I find out I need to produce different outputs based on each Schools requirements - they use different school admin software. There are three possible choices: "Power School" "Infinite Campus" "ReName Only"
I have added a variable in the Python code and changed the Python code to produce a different output based on the variable value. But I can not figure out how to have the operator select the output choice and set the variable in the Python script.
I tried to bring up a list of choices as the first step in Automator -- not as easy as one would think so that was a complete failure. Then I imported tkinter to python and tried to bring up a window with radiobuttons and pass the results to a variable. The buttons work when the script is run from IDLE but when run as a shell script from automator it only brings up an empty black window. I'm lost and can use some help.
Mac OS Monterey ver 12.6.2
Python 3.10