Simple Python Syntax Questions
would really appreciate some help with this:
1) I see in code that people will define subclasses like this:
def __init__(self, **config):
server = config.get('server', 'dnd')
what does the ** mean? I've also seen it as one asterisk. Or is that different?
2) i have also seen people define methods of classes with one underscore in front of the name and this is somehow special. why?
I know these may be basic questions, but I've never learned python formally and need to get on these.
Thanks to anyone who can help?