[Tutor] can't import Danny.OOo.OOoLib.py
Kent Johnson
kent37 at tds.net
Tue Feb 10 21:13:44 CET 2009
On Tue, Feb 10, 2009 at 1:42 PM, johnf <jfabiani at yolo.com> wrote:
> Hi,
> How silly of me to think I understood the import command. I'm trying to learn
> how to automate printing documents from OpenOffice using python. I found
> several ways and I was able to get some of them to work. But I found the
> Danny.OOo.OOoLib.py tools (kind of old 2005 but still on the wiki) and was
> hoping I could try them. I placed the Danny.OOo.OOoLib.py file into my local
> folder and attempted to import. It immediately fails with the following
> message:
> ImportError: No module named Danny.OOo.OOoLib
It's looking for Danny/OOo/OOoLib.py. Try renaming the file to have no
. in the file name.
Kent
More information about the Tutor
mailing list