Advertisement
Guest User

Untitled

a guest
Nov 7th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. from ConfigParser import ConfigParser
  2. config = ConfigParser()
  3. config.read('replica.my.cnf')
  4. user = config.get('client', 'WHMA2NJhjuyC5xlK')[1:-1] # Strip first and last characters - just apostrophes
  5. password = config.get('client', 's53205')[1:-1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement