Advertisement
Guest User

Untitled

a guest
Apr 28th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. #-*- coding: utf-8 -*-
  2. import string, os
  3. users = "<User: botenjuchan>, <User: botnananachan>, <User: botrinchan>, <User: drokokgb>, <User: botkuronekochan>, <User: jcclj>, <User: botnanamichan>, <User: botbakachan>, <User: botmiunachan>, <User: amagamibr>, <User: martec2014> "
  4. botsnames = ['botenjuchan','botnananachan','botrinchan','botkuronekochan','botnanamichan','botbakachan','botmiunachan'] #não está todos aqui, eu acho
  5. users = users.split(",")
  6.  
  7. for i in range(len(users)):
  8. users[i]=users[i].strip().replace("<User: ", "").replace(">", "")
  9.  
  10. finallistusers=[user for user in users if user not in botsnames]
  11. print ", ".join(finallistusers)
  12. os.system("pause")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement