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

2715 profile views

0 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

alces's Recent Python 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.
1 1042 posted 9 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 838 posted 9 years ago by alces
« Prev 1 Next »