Guest User

Untitled

a guest
Dec 5th, 2015
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.96 KB | None | 0 0
  1. def getCfg(section, param):
  2.     config = configparser.ConfigParser()
  3.     config.sections()
  4.  
  5.     config.read("tabcfg.ini")
  6.     return config[section][param]
  7.    
  8. _cfg_se_help_u = "\n" + "var help=\"<ul> \\ "+"\n"+getCfg('SENAMES', 'search1')+"\n"+getCfg('SENAMES', 'search2')+"\n"+getCfg('SENAMES', 'search3')+"\n"+getCfg('SENAMES', 'search4')+"\n"+getCfg('SENAMES', 'search5')+"\n"+getCfg('SENAMES', 'search6')+"\n"+getCfg('SENAMES', 'search7')+"\n"+getCfg('SENAMES', 'search8')+"\n"+getCfg('SENAMES', 'search9')+"\n"+getCfg('SENAMES', 'search10')+"\n"+"</ul> \";\n"
  9.  
  10. [SENAMES]
  11. search1 = <li><b>!g</b> = Search Google (Default)</li>\
  12. search2 = <li><b>!i</b> = Search Google Images</li>\
  13. search3 = <li><b>!m</b> = Search IMDb</li> \
  14. search4 = <li><b>!u</b> = Search Urban Dictionary</li> \
  15. search5 = <li><b>!w</b> = Search Wikipedia</li> \
  16. search6 = <li><b>!y</b> = Search YouTube</li> \
  17. search7 = <li><b>!d</b> = Search DeviantArt</li> \
  18. search8 =
  19. search9 =
  20. search10 =
Advertisement
Add Comment
Please, Sign In to add comment