[Tutor] can't import Danny.OOo.OOoLib.py
johnf
jfabiani at yolo.com
Tue Feb 10 19:42:58 CET 2009
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
So could someone enlighten me as to why it reports this error? The file is in
the local directory/folder. I cd to the directory. What else is required?
--
John Fabiani
More information about the Tutor
mailing list