I need to parse some text file, create objects for various entities encountered in the text, and put them in some data structure (e.g., a list) for further processing. Examp
you can create instances of a class by it's name using the following code
obj = globals()[classname]()
where classname is a string
classname