CMS 3D CMS Logo

varParsingExample.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 
3 from __future__ import print_function
4 from FWCore.ParameterSet.VarParsing import VarParsing
5 options = VarParsing ('python')
6 options.inputFiles = 'bob','peter'
7 #options.setNoDefaultClear ('inputFiles')
8 #options.setNoCommaSplit ('inputFiles')
9 options.parseArguments()
10 
11 print(options.inputFiles)
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66