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?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.018
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; '(rather': 0.09; 'parsing': 0.09; 'subject:method': 0.09; 'am,': 0.12; 'package.': 0.12; 'received:209.85.210.174': 0.13; 'received:mail- iy0-f174.google.com': 0.13; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'has,': 0.16; 'subject:() ': 0.16; '\xa0>>>': 0.16; 'wrote:': 0.18; 'dec': 0.22; 'header:In- Reply-To:1': 0.22; 'objects,': 0.23; 'import': 0.27; 'message- id:@mail.gmail.com': 0.28; 'assuming': 0.29; 'chris': 0.30; 'installed': 0.31; 'subject:?': 0.31; 'thu,': 0.32; 'to:addr :python-list': 0.34; 'received:google.com': 0.37; 'received:209.85': 0.38; 'subject:from': 0.38; 'should': 0.39; "it's": 0.40; 'received:209': 0.40; 'to:addr:python.org': 0.40; '2011': 0.61; '29,': 0.73; 'subject:this': 0.74; 'subject:Where': 0.84; 'subject:come': 0.91; 'presumably': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=C0vDL8kxSUystnrEr+IxqYVByBvav6IxPoAHwnz/ZGw=; b=Knn+eAVs042gO/I7qJ6SDOzT9ehVYfG0pNYebAgFVHy5nj4ylQ+T4lLA0Lie99eN7x rwDudVxzTA84S2yVi9FLA2SmonuBc+BOFMSZ18iDD2rIeS4t8prXgexUh4BbTu1USetq sdsaaXaTU8FUXXaOv2FsK/RB2LNNobGOxqBwI=
MIME-Version 1.0
In-Reply-To <rr5ss8-hhr.ln1@chris.zbmc.eu>
References <rr5ss8-hhr.ln1@chris.zbmc.eu>
Date Thu, 29 Dec 2011 07:45:31 +1100
Subject Re: Where does this readOne() method come from?
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4194.1325105133.27778.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1325105133 news.xs4all.nl 6890 [2001:888:2000:d::a6]:51305
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18140

Show key headers only | 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