Chris Angelico <ros...@gmail.com> wrote: > On Thu, Dec 29, 2011 at 6:04 AM, <tinn...@isbd.co.uk> wrote: > > In the (rather sparse) documentation for the vobject package it has, > > in the section about parsing iCalendar objects, the following:- > > > > >>> parsedCal = vobject.readOne(icalstream) > > Presumably you have this vobject package. Assuming it's installed > correctly, all you need to do is: > > import vobject > > and then vobject.readOne should be available. > Digging harder into the epydoc documentation I finally found vobject.vobject.readOne().
However having twice been befuddled by vobject, once when using it for vCard and this time using it for vCal I've decided to move back to the python-icalendar I was using before. The only reason I tried to use vobject is that it's in the Ubuntu repositories (I doing this on an xubuntu system), but it doesn't appear to have a current maintainer and python-icalendar does so even though it's a 'manual' install I'm sticking with python-icalendar. -- Chris Green -- http://mail.python.org/mailman/listinfo/python-list