start main
This commit is contained in:
parent
bbc6ccc69e
commit
d76f04d981
|
@ -1 +1,2 @@
|
||||||
*.xlsx
|
*.xlsx
|
||||||
|
*#
|
|
@ -0,0 +1,11 @@
|
||||||
|
from openpyxl import load_workbook
|
||||||
|
|
||||||
|
wb = load_workbook(filename = 'names.xlsx')
|
||||||
|
|
||||||
|
names = []
|
||||||
|
|
||||||
|
for row in wb.active.iter_rows():
|
||||||
|
name = " ".join(list(map(lambda cell: cell.value, row)))
|
||||||
|
names.append(name)
|
||||||
|
|
||||||
|
print(names)
|
Binary file not shown.
Loading…
Reference in New Issue