alces


Member since 02/06/2013

Name: Alexey Zalesnyi

Location: Saratov, Russia

Website: cervus-alces.blogspot.com

Provincial sysadmin getting fun in writing some terse code.

2 snippets

73 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

alces's Recent SnippetsTagged python



« Prev 1 Next »
Flatten a list of lists (or tuple of tuples, list of tuples, etc.) to any depth of nesting using no mutable objects.
0 43 posted 5 years ago by alces
Usage: 1. save the snippet as *fabfile.py* 2. and run: **$ fab -H myhost1,myhost2...** or set *env.roledefs['myrole'] = ['myhost1', 'myhost2', ...]* in *fabfile.py* and run this way: **$ fab -R myrole**
0 27 posted 5 years ago by alces
« Prev 1 Next »