Advertisement
archang3l

Untitled

Mar 22nd, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. from configparser import ConfigParser
  2. from random import choice
  3. config = ConfigParser()
  4. config.read("settings.conf")
  5. username = config.get('login', 'username')
  6. password = config.get('login', 'password')
  7. config_ip_nord = config.get('addresses', 'wlan_nord')
  8. config_ip_sued = config.get('addresses', 'wlan_sued')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement