I can't speak to the efficiency to be honest without getting to grips with your code more. But why are you using globals instead of a class?
It's a different paradigm that you ideally should get to grips with as it's core to (learning) Python.
-
-
I know you--you said that a few times--and I'm trying to understand it. Sorry if I'm asking stupid/ill-formed questions
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
My advice is: first understand what an object is and then you will get what a class is, as it's the general case of an object.
-
I certainly can't teach this to you over Twitter for more than just the 140 character limit and the terrible threading.

-
I know, I know. Thanks for all your help thus far.
-
Good luck with it. I hope I haven't dissuaded you. Twitter is tough.
-
No, definitely not dissuaded. Just a bit more confused :P. Thanks again!
-
Who said (learning) programming is straight forward?
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.