470,563 Members | 2,339 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,563 developers. It's quick & easy.

Delete rows using xlrd?

I want to delete some rows (by creating a loop may be) using xlrd. Is
this possible, if not how do I do that with python? Please help

Thanks
Krishna
Jun 27 '08 #1
1 6663
Krishna wrote:
I want to delete some rows (by creating a loop may be) using xlrd. Is
this possible,
No. The "rd" in "xlrd" is an abbreviation for "read". It is possible to
read the more basic info from an Excel spreadsheet, manipulate it in
memory, and write out the results to a new file using another package
e.g. pyExcelerator (or xlwt, a bug-fixed fork of pyEx.*).

If you can find in the xlrd README or documentation even the vaguest
hint that xlrd can be used by itself for changing the contents of an XLS
file, please let me know, and I'll reword it.
if not how do I do that with python? Please help
Perhaps you could read the concurrent thread where somebody with a name
very similar to yours is getting help on a script that uses the pywin32
COM approach :-)

Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by kylancal | last post: by
1 post views Thread by JYOUNG79 | last post: by
1 post views Thread by Kelie | last post: by
3 posts views Thread by Chanman | last post: by
5 posts views Thread by Albert-jan Roskam | last post: by
reply views Thread by Albert-jan Roskam | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.