At the top of your script,
from inspect import currentframe, getframeinfo
At the spot where you want to print the value of a variable,
print(f'Line #{getframeinfo(currentframe()).lineno}:\nDescription:\n{varName}\nEnd of Description\n')
input()
In normal mode, you can use gv to re-select the previous visual selection.
If you just want to re-issue an additional ex command over the same range, you can use * on the command line, as long as "*" isn't in your 'cpoptions' setting.
:'<,'>s/foo/bar/g
:*s/baz/bat/g
:help cpo-star
:help :*
:help v_:$ cat mylist.txt
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'
$ ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
For Windows:
(echo file 'first file.mp4' & echo file 'second file.mp4' )>list.txt
ffmpeg -safe 0 -f concat -i list.txt -c copy output.mp4