Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python excel sheet import

#!/usr/bin/env python

from openpyxl import Workbook
import time

book = Workbook()
sheet = book.active

sheet['A1'] = 56
sheet['A2'] = 43

now = time.strftime("%x")
sheet['A3'] = now

book.save("sample.xlsx")
Source by zetcode.com #
 
PREVIOUS NEXT
Tagged: #python #excel #sheet #import
ADD COMMENT
Topic
Name
3+5 =