Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18176
| From | tinnews@isbd.co.uk |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Where does this readOne() method come from? |
| Date | 2011-12-29 14:36 +0000 |
| Message-ID | <lfaus8-l57.ln1@chris.zbmc.eu> (permalink) |
| References | <rr5ss8-hhr.ln1@chris.zbmc.eu> <mailman.4194.1325105133.27778.python-list@python.org> |
Chris Angelico <rosuav@gmail.com> wrote: > On Thu, Dec 29, 2011 at 6:04 AM, <tinnews@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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Where does this readOne() method come from? tinnews@isbd.co.uk - 2011-12-28 19:04 +0000
Re: Where does this readOne() method come from? Terry Reedy <tjreedy@udel.edu> - 2011-12-28 15:41 -0500
Re: Where does this readOne() method come from? Chris Angelico <rosuav@gmail.com> - 2011-12-29 07:45 +1100
Re: Where does this readOne() method come from? tinnews@isbd.co.uk - 2011-12-29 14:36 +0000
csiph-web