Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from configparser import ConfigParser
- from random import choice
- config = ConfigParser()
- config.read("settings.conf")
- username = config.get('login', 'username')
- password = config.get('login', 'password')
- config_ip_nord = config.get('addresses', 'wlan_nord')
- config_ip_sued = config.get('addresses', 'wlan_sued')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement