Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18140

Re: Where does this readOne() method come from?

References <rr5ss8-hhr.ln1@chris.zbmc.eu>
Date 2011-12-29 07:45 +1100
Subject Re: Where does this readOne() method come from?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4194.1325105133.27778.python-list@python.org> (permalink)

Show all headers | View raw


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.

Chris Angelico

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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