Sure!<div><br></div><div>Documentation for Google Calendar API for Python is here: <a href="http://code.google.com/apis/calendar/data/2.0/developers_guide_python.html">http://code.google.com/apis/calendar/data/2.0/developers_guide_python.html</a></div>
<div><br></div><div>The Python library and example scripts are available from here: <a href="http://code.google.com/p/gdata-python-client/downloads/list">http://code.google.com/p/gdata-python-client/downloads/list</a>  (I downloaded the gdata-2.0.15 package.)</div>
<div><br></div><div>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.</div><div><br></div><div>
The script starts with these lines:</div><div><br></div><div>try:</div><div>  from xml.etree import ElementTree</div><div>except ImportError:</div><div>  from elementtree import ElementTree</div><div>import gdata.calendar.data</div>
<div>import gdata.calendar.client</div><div>...</div><div>...</div><div><br></div><div>There are a few other imports.  But when I try to just paste these imports into the Scribus console, they fail right away.</div><div><br>
</div><div>Here is the trace from the script console:</div><div><br></div><div><br></div><div><div>  File "<console>", line 5</div><div>    import gdata.calendar.data</div><div>         ^</div><div>SyntaxError: invalid syntax</div>
<div>Traceback (most recent call last):</div><div>  File "<console>", line 1, in <module></div><div>  File "/usr/local/lib/python2.7/dist-packages/gdata/__init__.py", line 27, in <module></div>
<div>    import atom</div><div>  File "/usr/local/lib/python2.7/dist-packages/atom/__init__.py", line 56, in <module></div><div>    from elementtree import ElementTree</div><div>ImportError: No module named elementtree</div>
</div><div><br></div><div><br></div><div>Any pointers you can give will be appreciated, I admit I am no expert...</div><div><br></div><div>Thanks,</div><div>Steve</div><div><br><br><div class="gmail_quote">On Tue, Oct 18, 2011 at 4:04 PM, ale rimoldi <span dir="ltr"><<a href="mailto:ale.comp_06@xox.ch">ale.comp_06@xox.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi steve,<br>
<div class="im"><br>
<br>
> I installed a virtual Ubuntu box, updated it to the current version,<br>
> installed the Scribus 1.4.0 RC2 package, installed these Google<br>
> calendar libraries, again, and find myself in the same boat.<br>
><br>
> So now my question is, on Linux, how do I get Scribus to use<br>
> libraries which are installed on the machine beyond those that are<br>
> normally there?  My Google Calendar Python script works from the<br>
> command line, but not from Scribus.  Any ideas?<br>
<br>
</div>could you post a snippet i could try?<br>
<div><div></div><div class="h5"><br>
ciao<br>
a.l.e<br>
<br>
___<br>
Scribus Mailing List: <a href="mailto:scribus@lists.scribus.net">scribus@lists.scribus.net</a><br>
Edit your options or unsubscribe:<br>
<a href="http://lists.scribus.net/mailman/listinfo/scribus" target="_blank">http://lists.scribus.net/mailman/listinfo/scribus</a><br>
See also:<br>
<a href="http://wiki.scribus.net" target="_blank">http://wiki.scribus.net</a><br>
<a href="http://forums.scribus.net" target="_blank">http://forums.scribus.net</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>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." <i>Flatland</i>, by Edwin A. Abbott<br>

</div>