Where does this readOne() method come from?

Chris Angelico rosuav at gmail.com
Wed Dec 28 15:45:31 EST 2011


On Thu, Dec 29, 2011 at 6:04 AM,  <tinnews at 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.

Chris Angelico



More information about the Python-list mailing list