In Python, its the vagueness that I struggle with.

Lets start with what I know. I know that I want to search a specific directory for a file. And I want to search that file for a specific line that contains a specific string, and return only that line.

Which brings me to what I don't know. I have a vague description of the specific filename:
`some_file_{variable}_{somedatestamp}_{sometimestamp}.log`
So I know the file will start with `some_file` followed by a known variable and ending in `.log`. I don't know the date stamp or the time stamp. And to top it off, the file might not still exist at the time of searching, so I need to cover for that eventuality.

To better describe the problem, I have the line of the BASH script that accomplishes this:
`ls -1tr /dir/some_file_${VARIABLE}_*.log | tail -2 | xargs -I % grep "SEARCH STRING" %`

So basically, I want to recreate that line of code from the BASH script in Python, and throw a message in the case that the search returns no files.