win32clipboard operation

2009-07-23 Thread LeeRisq
Hi all, Newbie question. I've written a script that outputs to a text file. Now, I just want to copy the content to win32clipboard for access to other applications. Here's the mess I've come up with so far:) import xlrd import win32clipboard def program_uno(): ofile = open(r"C:\Query\DQL.

Re: win32clipboard operation

2009-07-23 Thread LeeRisq
On Jul 23, 9:05 am, MRAB wrote: > LeeRisq wrote: > > Hi all, > > > Newbie question. I've written a script that outputs to a text file. > > > Now, I just want to copy the content to win32clipboard for access to > > other applications. Here's the mess I&

Re: win32clipboard operation

2009-07-23 Thread LeeRisq
> I've actually tried this configuration, but I did it again just to be > sure. The program executes without exception, but the text still isn't > copied to the clipboard. Any ideas? So, I think I've figured out the issue. Which brings me to another question...why is it that I can manually copy an

xlrd - insert column?

2009-07-28 Thread LeeRisq
Does xlrd have the capability to insert a column? -- http://mail.python.org/mailman/listinfo/python-list

Issue with writelines

2009-09-02 Thread LeeRisq
I've written this program that has been working fine until today. Can't work out why it stopped working. The program pulls a list from an xls file, inserts each item from the list into a repeating string, that then concatenates the repeating string and writes it to a text file. It has worked fine u