flatlist

Recursively flattens a list of any depth. Made just to check pypi and travis ;)


License
Unlicense
Install
pip install flatlist==0.0.1

Documentation

Flatlist

travis status

Recursively flattens list containing nested ones.

Example list:

[1, [2, [3, [4, [5]]]]]

will get flatten to:

[1, 2, 3, 4, 5]

I made that just for learning purposes and check out the process of publishing package on pypi, and learn something abou Travis.