(list_in, n)
| 56 | yield list[i:i + n] |
| 57 | |
| 58 | def divide_n(list_in, n): |
| 59 | list_out = [ [] for i in range(n)] |
| 60 | for i,e in enumerate(list_in): |
| 61 | list_out[i%n].append(e) |
| 62 | return list_out |
| 63 | |
| 64 | def is_gzip_file(file_path): |
| 65 | with open(file_path, 'rb') as file: |
no outgoing calls
no test coverage detected