Sure! Documentation for Google Calendar API for Python is here: http://code.google.com/apis/calendar/data/2.0/developers_guide_python.html
The Python library and example scripts are available from here: http://code.google.com/p/gdata-python-client/downloads/list (I downloaded the gdata-2.0.15 package.) I installed the gdata package per the instructions in the readme, and used the gdata samples/calendar/calendarExample.py script to test. From the python command line, it works. The script starts with these lines: try: from xml.etree import ElementTree except ImportError: from elementtree import ElementTree import gdata.calendar.data import gdata.calendar.client ... ... There are a few other imports. But when I try to just paste these imports into the Scribus console, they fail right away. Here is the trace from the script console: File "<console>", line 5 import gdata.calendar.data ^ SyntaxError: invalid syntax Traceback (most recent call last): File "<console>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/gdata/__init__.py", line 27, in <module> import atom File "/usr/local/lib/python2.7/dist-packages/atom/__init__.py", line 56, in <module> from elementtree import ElementTree ImportError: No module named elementtree Any pointers you can give will be appreciated, I admit I am no expert... Thanks, Steve On Tue, Oct 18, 2011 at 4:04 PM, ale rimoldi <ale.comp_06 at xox.ch> wrote: > hi steve, > > > > I installed a virtual Ubuntu box, updated it to the current version, > > installed the Scribus 1.4.0 RC2 package, installed these Google > > calendar libraries, again, and find myself in the same boat. > > > > So now my question is, on Linux, how do I get Scribus to use > > libraries which are installed on the machine beyond those that are > > normally there? My Google Calendar Python script works from the > > command line, but not from Scribus. Any ideas? > > could you post a snippet i could try? > > ciao > a.l.e > > ___ > Scribus Mailing List: scribus at lists.scribus.net > Edit your options or unsubscribe: > http://lists.scribus.net/mailman/listinfo/scribus > See also: > http://wiki.scribus.net > http://forums.scribus.net > -- When I could find voice, I shrieked aloud in agony, "Either this is madness or it is Hell." "It is neither," calmly replied the voice of the Sphere, "it is Knowledge." *Flatland*, by Edwin A. Abbott -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.scribus.net/pipermail/scribus/attachments/20111019/4c2c4f33/attachment.html>
