 Hello, in this video I want to show you some of the new output features that I coded into my Python per line program and it's also something that I will start to introduce in my other programs. So Python per line is a simple Python script that will execute a Python expression on each line of a text file or several text files that you presented. So here for example I have my program and then three test files with this content, just a couple of lines and they are all three different. So what I can do with Python per line for example is to apply a ROT13 encoding on every line. You can apply any Python expression that you want. So you do Python per line and the expression. So I want to work on a line, so the variable is line and I want to encode it with ROT13. So in Python I can do this like this and I do that on the first file like this and then you have your output that is ROT13 encoded and of course you can do it on several files. Now this is the output. It is directed to standard out. If you want you can of course redirect it or use an option, let's take the first one here or use an option, option O to write it to a file. So result.txt for example and then you have no output to standard out but you have your result file here, the output is written to the result file. So that is something that is present of course in many of my tools but now I'm going to show you the new features. So let's do again this output here, which result and now you have some extra features for output. So let's put double quotes around it because here on the Mac we want to escape the hash character. When you start the name of the output file with the hash character then you can use different options like for example this here, c sent for console. So when I use this name as an output file the output will be written to result.txt because that's the file name but it will also be written to the console, so standard out. So c stands for console. So with this you have two outputs, one to your screen and one to the file. And for very long files that can give you an indication of your progress. So this is the result. You see you have the output here to the standard out and to your console and you also have here the output on file. So let's remove this. Now if you're not inspired and you cannot come up with a good output file name like people will tie something like this XXX but after some time you will no longer know what this is about. So you can use option G like this and when you use that option the file name will be generated for you like this. So now if you look here in the output, here you have a new output file and the generated file name is the name of the tool extension.log and then a timestamp with the date and the time. So I can look into this file like this and that's the output. Of course if I run this many times then I each time get different files. You can of course also combine this with console output like this say CNG then you have your console output but you also have the generated file. So you can combine options. Now let me remove those files, those generated files like this. Another thing that you can do with the generated file is provide a keyword like this demo. And if you do this then your output file will also include your keyword. So that is something interesting to do if you want to run your tool several times and have several files with different results. Just use a keyword and then the tool will add a timestamp to have different files. If you have a lot of files to process like for example here we will process all text files. You can get an ID of progress by using option P and P stands for progress like this. And then here as output you can see here the progress files that were made. Of course now this output was not directed to a file and what you want to do of course is to direct this to a file like this. Then here you can see the different files that were processed and you can see a progress when it takes a long time. And of course you also get your output here P was created because I did not add a file name but here result I have a file, the content of my output. And then finally if you are processing several files then you can also make that each output for every single file is stored inside a different file. And you do that with option S, S stands for separate. So for every input file you will create an output file. And there you have to specify the name so we will also call this result.txt but we will prefix this with the root of the input file name. And the root is the file name without the extension so %R% stands for the root of the input file name like this. And when we do this you can see that now you have three different output files like this. I need only contains the output for the input file test one and of course the same for test two result and test three result. So these are several output options that I have. I first introduced it in my Python per line tool but I also will start to introduce this in my other tools when I make new releases for them.