SHARE
TWEET

Untitled

a guest May 14th, 2019 114 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/python3
  2. #sudo apt install python3-urwid
  3. #this module allows the inputer to select the servers on which accounts will be created.
  4.  
  5. import urwid
  6.  
  7. #initial list with all options set to negative
  8. serverlist = {'dot71':'( )','dot131':'( )','dot234':'( )','dot239':'( )','servere':'( )','serverf':'( )'}
  9.  
  10. #put in a question that changes one of the object1s to a key dot131 to (x)
  11. serverpicks=input("Do you want to add a user to dot131?")
  12. if (serverpicks) == 'yes':
  13.         del serverlist[1:0]
  14. #        '(x)')
  15. #       print()
  16. #put in a line for each
  17. #make it a chart
  18. #add a select all
  19. #add a start over
  20. #add a finished/done
  21.  
  22. #test
  23. #print (serverlist['dot131'])
  24. print (serverlist)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top