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

apending to excel files with wxWriter

P: 5
guys...one doubt about this...how can i append to and already existing excel file usin pyxlwriter(or usin python in general)?
Nov 21 '07 #1
Share this Question
Share on Google+
3 Replies


bartonc
Expert 5K+
P: 6,596
guys...one doubt about this...how can i append to and already existing excel file usin pyxlwriter(or usin python in general)?
It may be as easy as:
Expand|Select|Wrap|Line Numbers
  1. #
  2. workbook = xl.Writer("test.xls")
  3. worksheet = workbook.Seets(1)
As it is with pure PyWin32.
Nov 22 '07 #2

P: 5
hi everybody...

i wanted to append to an excel file usin any module in python,....i tried pyxlwriter and xlrd...they don seem to offer support to write to an already existing excel file....any help would be appreciated
Nov 22 '07 #3

bartonc
Expert 5K+
P: 6,596
It may be as easy as:
Expand|Select|Wrap|Line Numbers
  1. #
  2. workbook = xl.Writer("test.xls")
  3. worksheet = workbook.Seets(1)
As it is with pure PyWin32.
If you don't know enough VB to make this work, you can use Excel to record a macro and translate the VB created there into your script.
Nov 22 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.