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.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|Flattener-0.1.2-py2-none-any.whl (4.9 kB) Copy SHA256 Checksum SHA256||py2||Wheel||Mar 12, 2016|
|Flattener-0.1.2.zip (16.2 kB) Copy SHA256 Checksum SHA256||–||Source||Mar 12, 2016|