Flatten lists of lists.
Flatten lists of lists:
>>> import flattener >>> flattener.flatten([1, 2, [3, , 5]]) [1, 2, 3, 4, 5]
Full documentation, including installation and setup guides, can be found at http://flattener.readthedocs.org/en/latest/
Copyright and license
Copyright (c) 2016 Martin Pengelly-Phillips
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE.txt file, or at:
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size Flattener-0.1.2-py2-none-any.whl (4.9 kB)||File type Wheel||Python version py2||Upload date||Hashes View hashes|
|Filename, size Flattener-0.1.2.zip (16.2 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for Flattener-0.1.2-py2-none-any.whl