Why make a video screen capture, aka screencast? Some possible reasons are:
I create screencasts mainly for recordkeeping. As a result, I don't expect to edit the output video, for example, to obfuscate sensitive data, or to insert call-outs to draw attention to specific screen areas.
I realized that I had forgotten to upload my LinuxTag Berlin 2014 presentation on rsyslog enhancements and writing external plugins. I have now uploaded it, so you can view it here:
readlines() is a function in python used to read text file and convert it into list where each line in at file is a element in list with new line(\n) at the end of each element.
>>> filelist = open("file.txt").readlines()
['a\n', 'b\n', 'c\n', 'd\n']
If you want to remove new line(\n) at the end of all elements in list use read() and splitlines() functions as shown in below example.