Advertisement
albin900

Config

Jun 18th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. from config import *
  2. from random import randint
  3. import time
  4.  
  5. cfg = Config()
  6.  
  7. cfg.set("Goode","hello")
  8.  
  9. while 1:
  10.     cfg.add("a", randint(1,99) )
  11.     print cfg.get("a")
  12.     time.sleep(0.1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement