Python 101 - delete library

Hey Jason,

PySequences do have a parent attribute, but I think this will only help you if the selected clip is in the library:
https://help.autodesk.com/view/FLAME/2022/ENU/?guid=Flame_API_Python_API_autodesk_flame_python_api_html#PySequence

If the sequence is on your current desk and you want to find the library where it has also been saved you probably need to crawl all libraries to find the sequence. Have a look at this code snippet which shows you how to collect clips from libraries with an unknown level of subfolders:

Instead of just adding every clip (clips.append(clip)) you would add a check if the clip name equals your clip name.