•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 391,944 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 3,891 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:
Views: 259 | Replies: 3
![]() |
•
•
Join Date: May 2008
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hello, I have a program that generates several 1-dimensional arrays that I would like to conduct data analysis on.
I was wondering if there was some sort of python tool (or module, or anything) that could write these arrays to a column of a spreadsheet ( in OpenOffice formatting).
Is there a way to do this, or would my best bet be to write the arrays to a text file, hope the formatting is okay, and copy paste that into OpenOffice.
Any ideas?
Thanks
I was wondering if there was some sort of python tool (or module, or anything) that could write these arrays to a column of a spreadsheet ( in OpenOffice formatting).
Is there a way to do this, or would my best bet be to write the arrays to a text file, hope the formatting is okay, and copy paste that into OpenOffice.
Any ideas?
Thanks
•
•
Join Date: Dec 2006
Posts: 384
Reputation:
Rep Power: 2
Solved Threads: 52
OpenOffice will import comma delimited text files, or any other delimiter that you care to choose. If there are commas in the data then use something like comma+space+space as the delimiter. Here is a dated link for creating the spreadsheet in python. It refers to StarOffice (or something like that), which is a former incarnation of OpenOffice, so hopefully this still works. http://www.oooforum.org/forum/viewtopic.phtml?t=8456 Searching the oooforum will probably yield more hits. Hope this gets you started.
•
•
Join Date: Jul 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
You can try scipy/numpy or pylab (in matplotlib)
numpy.savetxt()
http://www.scipy.org/Numpy_Example_L...24fbd305b79f34
pylab.save()
http://matplotlib.sourceforge.net/pylab_commands.html
numpy.savetxt()
http://www.scipy.org/Numpy_Example_L...24fbd305b79f34
pylab.save()
http://matplotlib.sourceforge.net/pylab_commands.html
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Python Marketplace
- Previous Thread: how to handle large lists?
- Next Thread: How long the account can last


Linear Mode