Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Usage patterns for MeteoDoc2CSV
MeteoDoc2CSV 0.0.1
Parse Word files of a proprietary format into CSV files.
Usage:
meteo_doc2csv.py <input_file>... [-o=<output_file>]
meteo_doc2csv.py <input_file>... [--append=<append>] [--prepend=<prepend>]
meteo_doc2csv.py -d <input_dir> [--append=<append>] [--prepend=<prepend>] [--join]
meteo_doc2csv.py (-h | --help)
meteo_doc2csv.py --version
Options:
-h --help Show this screen.
--version Show version.
-o --out=<output_file> Output file path.
Can contain file name when used with a single input file.
Otherwise specify only output directory.
Default: input file name with ".csv" extension.
-a --append=<append> Append to output file name, before the ".csv" extension.
-p --prepend=<prepend> Prepend to output file name.
-d --dir=<input_dir> Input directory path.
Only valid if --out is specified as relative path, or file name.
Default: same directory where input file(s) is located.
-j --join Combine input files in a single output file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment