Whats the difference between an argument and a parameter? The argument would be the exact and concrete input I put into my car e g In my case, the argument would be: 40 litres of unleaded petrol gasoline Example 3 - Elaboration on Arguments An argument is a particular and specific example of an input Suppose my machine takes a person as an input and turns them into someone who isn't a liar
Using parameters in batch files at Windows command line For example, to get the size of the file passed in as an argument use ECHO %~z1 To get the path of the directory where the batch file was launched from (very useful!) you can use ECHO %~dp0 You can view the full range of these capabilities by typing CALL ? in the command prompt
How can I pass a list as a command-line argument with argparse? will work fine The delimiter can be a space, too, which would though enforce quotes around the argument value like in the example in the question Or you can use a lambda type as suggested in the comments by Chepner: parser add_argument('-l', '--list', help='delimited list input', type=lambda s: [int(item) for item in s split(',')])