I\'m making a Python program that will parse the fields in some input lines. I\'d like to let the user enter the field separator as an option from the command line. I\'m usi
The quick and dirty way is to to eval it, like this:
eval
eval(options.delimiter, {}. {})
The extra empty dicts are there to prevent accidental clobbering of your program.