You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python-excel
On Mar 21, 6:04 am, rohit kumar <rohit.im...@gmail.com> wrote:
> Is there a way in xlwt to write a row, but have it hidden by
> default?
Rows are shown by default. I don't understand what you mean by having
a specific row hidden by default
If you mean "How do I hide a row?":
import xlwt
wb = xlwt.Workbook()
ws = wb.add_sheet('Sheet1')
for rowx in range(30):
ws.write(rowx, 0, rowx)
for rowx in range(20, 25):
ws.row(rowx).hidden = True
wb.save('hide_rows.xls')
rohit kumar
unread,
Mar 22, 2013, 1:12:38 AM3/22/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python...@googlegroups.com
On Friday, March 22, 2013 1:34:27 AM UTC+5:30, John Machin wrote:
On Mar 21, 6:04 am, rohit kumar <rohit.im...@gmail.com> wrote: > Is there a way in xlwt to write a row, but have it hidden by > default?
Rows are shown by default. I don't understand what you mean by having a specific row hidden by default
[Rohit] Thanks for reply John. I wanted to know that after arranging rows in levels ( or grouping them), is it possible to shrink the level using script only. Manually I have to click on "-" symbol to shrink the group.