Python Script to extend clips with still frames

I am an experienced programmer but new to Blackmagic API.
In Resolve, it would be nice to have a function to automatically extend the last (or first) frame of a clip as a still. I can do this in about 10 clicks but I do it a lot. ChatGPT shows this as ~20 lines of python.
1. Is there a repository of existing python routines where I can check to see if anyone has already written such a script?
2. Is there a URL which describes how to create a python script which works on Resolve? I have followed the directions from ChatGPT but the script does not appear in the Workspaces scripts menu.
3. Is this a reasonable thing to do or am I working in the wrong direction?
Thanks for any input.
Charles
In Resolve, it would be nice to have a function to automatically extend the last (or first) frame of a clip as a still. I can do this in about 10 clicks but I do it a lot. ChatGPT shows this as ~20 lines of python.
1. Is there a repository of existing python routines where I can check to see if anyone has already written such a script?
2. Is there a URL which describes how to create a python script which works on Resolve? I have followed the directions from ChatGPT but the script does not appear in the Workspaces scripts menu.
3. Is this a reasonable thing to do or am I working in the wrong direction?
Thanks for any input.
Charles