Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 18th, 2018
76
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
from openpyxl import load_workbook
wb = load_workbook('item.xlsx')
ws = wb['Sheet1']
for row in ws["A4":"D4"]:
data = [cell.value for cell in row]
ws.append(data)
wb.save("New_File.xlsx")
Add Comment
Please,
Sign In
to add comment
Public Pastes
SnapSanix HUB
Lua | 5 min ago | 39.36 KB
Untitled
Python | 19 min ago | 1.13 KB
Untitled
Python | 27 min ago | 7.73 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 33 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 43 min ago | 0.38 KB
Untitled
C | 1 hour ago | 4.54 KB
Untitled
Java | 1 hour ago | 0.52 KB
haircut.py
Python | 1 hour ago | 0.69 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!