•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 402,049 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,523 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser: Programming Forums
Views: 366 | Replies: 5
![]() |
•
•
Join Date: Jul 2008
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
I have to create *.xls (or *.csv) with multiple tabs.
The program is in the loop and every time the loop runs it should create a new tab. Can any one help me with this. (I want to code it with out using PYExcelerator - I tried using that function but it throws an error saying "ImportError: No module named pyExcelerator" can some body help me with this too... resolving the error.)
Thanks,
Supriya
I have to create *.xls (or *.csv) with multiple tabs.
The program is in the loop and every time the loop runs it should create a new tab. Can any one help me with this. (I want to code it with out using PYExcelerator - I tried using that function but it throws an error saying "ImportError: No module named pyExcelerator" can some body help me with this too... resolving the error.)
Thanks,
Supriya
You will need to download and install pyExcelerator as it is not distributed with the standard Python.
Link: Py Package
You cannot create a csv file with multiple sheets (tabs), as the format does not allow it.
Link: Py Package
You cannot create a csv file with multiple sheets (tabs), as the format does not allow it.
Last edited by jlm699 : Jul 22nd, 2008 at 3:07 pm. Reason: Added link to pyExcelerator
Let's Go Pens!
•
•
Join Date: Jul 2008
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
You will need to download and install pyExcelerator as it is not distributed with the standard Python.
Link: Py Package
You cannot create a csv file with multiple sheets (tabs), as the format does not allow it.
Hi,
Thanks for the reply. Can u please tell me where to place the downloaded file?
Thanks
•
•
Join Date: Jul 2008
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
If you don't know how to build python packages, simply extract the pyExcelerator directory and place it in your Python site-packages folder... on Windows it will be:
C:\PythonXX\Lib\site-packages.
Thanks. I tried what u said. It still gives me this error
Traceback (most recent call last):
File "C:\Documents and Settings\xlspyexcel", line 1, in ?
from pyExcelerator import *
ImportError: No module named pyExcelerator
and this is the program I am running
from pyExcelerator import *
wb = Workbook()
ws0 = wb.add_sheet('0')
for x in range(10):
for y in range(10):
# writing to a specific x,y
ws0.write(x,y,"this is cell %s, %s" % (x,y))
wb.save('output.xls')
Please let me know what is wrong (I copied this program from internet)
![]() |
•
•
•
•
•
•
•
•
DaniWeb Python Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Previous Thread: help with pygame lines
- Next Thread: how can i set scroll bar to form in Qt Designer


Linear Mode