class Test(object):
one = 1
two = 2
print([k for k,v in Test.__dict__.items() if not k.startswith("__")])```
Created
May 14, 2018 14:16
-
-
Save ansrivas/d90cb34f1f4e6855197577946644acd3 to your computer and use it in GitHub Desktop.
all static variables in a class
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment