kangell


Member since 03/17/2008

5 snippets

3930 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

kangell's Recent Snippets



« Prev 1 Next »
This bit of code allows you to turn code that looks like this: x = {'foo':1, 'bar':2 } x['foo'] = 3 Into this: x = dictclass( {'foo':1, 'bar':2 } ) x.foo = 3
2 1485 posted 17 years ago by kangell
Send an e-mail message to the given addresses.
2 1277 posted 17 years ago by kangell
Run the specified command. If expect is not None then look for the given text in the output. If it is not there we throw an error. expect can also be a list of strings. In that case any match results in success unless matchall=True.
0 1200 posted 17 years ago by kangell
Use this to start of new python applications.
1 1415 posted 17 years ago by kangell
1 1401 posted 17 years ago by kangell
« Prev 1 Next »