By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,665 Members | 1,513 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,665 IT Pros & Developers. It's quick & easy.

Delete rows using xlrd?

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.