mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 23:10:17 +00:00
13 lines
247 B
Python
13 lines
247 B
Python
#!/usr/bin/env python
|
|
# -*- coding: windows-1251 -*-
|
|
# Copyright (C) 2005 Kiseliov Roman
|
|
|
|
from xlwt import *
|
|
|
|
w = Workbook()
|
|
ws = w.add_sheet('Image')
|
|
ws.insert_bitmap('python.bmp', 2, 2)
|
|
ws.insert_bitmap('python.bmp', 10, 2)
|
|
|
|
w.save('image.xls')
|