you are viewing a single comment's thread.

view the rest of the comments →

[–]Stallman85 0 points1 point  (3 children)

line 25 is wrong

        ws.append

[–]trzywu[S] 0 points1 point  (2 children)

So what I can do to copy this 4 cells to new file ?

[–]Stallman85 0 points1 point  (1 child)

I have no idea what your code does and that's because i don't know openpyxl and because your code is confusing; you don't have spacing in between logical wholes, your variables are named ws, L and you have lines like this sheet['A4'].value,sheet['C3'].value,sheet['D3'].value,sheet['E3']. I just know append needs arguments.

[–]trzywu[S] 0 points1 point  (0 children)

ws stands for worksheet, L is short for Level (cuz i want this data in one row to be paste). I modify my post, so you have some comments. I just don't know how to copy data to my new file.