Guest User

Untitled

a guest
May 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. from zero_configuration import Configuration, ParserMeta, LocatorMeta
  2.  
  3.  
  4. class Parser(ParserMeta):
  5. def parse_config(self, config_file):
  6. # Some method to parse the config file
  7. pass
  8.  
  9.  
  10. class Locator(LocatorMeta):
  11. def get_conf_file(self):
  12. # Some method to find the conf file
  13. pass
  14.  
  15.  
  16. conf = Configuration(Parser(), Locator())
Add Comment
Please, Sign In to add comment