### If no format was specified, probe it or provide it if not self.format: ### Check if the command is in the form odt2pdf l = sys.argv[0].split('2') if len(l) == 2: self.format = l[1]