954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Python and excel

I've recently downloaded the package that allows you to work an excel file using python at: http://www.python-excel.org/

I'm new at installing things from a programmer perspective... can anyone tell me how I'm able to determine if I have installed the programs correctly?

abbyo
Newbie Poster
18 posts since May 2010
Reputation Points: 10
Solved Threads: 1
 

You can try to run this program

import xlrd
import xlwt
import xlutils

If it doesn't run, it means you haven't installed the programs correctly. If it runs, it most likely means that you have installed them correctly.

Gribouillis
Posting Maven
Moderator
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691
 

Also you can do:

help()
### you get help prompt you input:
modules


You get quite list of modules available in your Python installation. Luckily x is at the end and you find the modules last column in the end if you installed them well.

pyTony
pyMod
Moderator
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852
 

it's probably much better to use OpenOffice calc than excel, as OO has native Python support.

ultimatebuster
Posting Whiz in Training
250 posts since Mar 2010
Reputation Points: 24
Solved Threads: 69
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: