Skip to content

Instantly share code, notes, and snippets.

@adamcunnington
Created November 5, 2013 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamcunnington/ab588ada85a1b569f1a1 to your computer and use it in GitHub Desktop.
Save adamcunnington/ab588ada85a1b569f1a1 to your computer and use it in GitHub Desktop.
>>> print es.getUseridList()
[2]
>>> for x in players.all_players():
... print x
...
>>>
def all_players():
"""Obtain a base filter object of all active players which can be further
filtered.
"""
print es.getUseridList()
return tools.Filter(Player(user_ID) for user_ID in es.getUseridList())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment