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: 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: References: Date: Thu, 29 Dec 2011 07:45:31 +1100 Subject: Re: Where does this readOne() method come from? From: Chris Angelico 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Thu, Dec 29, 2011 at 6:04 AM, wrote: > In the (rather sparse) documentation for the vobject package it has, > in the section about parsing iCalendar objects, the following:- > > =A0 =A0>>> parsedCal =3D 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