Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class webthing:
- def __init__( self,**kwargs):
- setup(**kwargs); <------ How to just stick all those args into this when I call setup()?
- def setup(self, host = DEFAULT_HOST,
- port = DEFAULT_PORT,
- user = DEFAULT_USER,
- pass = DEFAULT_PASS):
- print host;
- print port;
- print user;
- print pass;
- # do setup stuff
Add Comment
Please, Sign In to add comment