title: I want to convert a ics file from google calendar to a text file only containing the date and the description
body: <p>I have a calendar in google to keep my daylog.
  If I export it it looks like addendum1. The purpose is to compile this text to a clean output.</p>
  
  <p>What I require is a list containing only the date and the description from an event.
  Therefore I started with this code to testdrive it (i am 100% new to python).</p>
  
  <pre><code>*#!/usr/bin/env python
  basic=open('/Users/geertesselens/Desktop/Temp/basic.txt','r')
  gcal=basic.read()
  basic.close()
  amount_events = gcal.count('BEGIN:VEVENT')
  print
  print gcal[gcal.find('DTSTART')+19:gcal.find('DTSTART')+27],
  print "   ",
  print gcal[gcal.find('DESCRIPTION')+12:gcal.find('LAST-MODIFIED')]*
  </code></pre>
  
  <p>It does what I want, but now I need to go looking for the two other events. And I don't know how to use the find option for the second,3th... find option?</p>
  
  <p>If that works then I can cover it in a while loop for as many as amount_events.
  My final goals is to learn how to use python as a fast text compiling environment to make up for all type of text mismatches.</p>
  
  <p>Any feedback is welcome. I make sure to supply the final result back to you.</p>
  
  <p><em><strong></em>**<em>*</em>**<em>*</em>**<em>*</em>***</strong><em>Addendum1 - the ICS file</em><strong><em>*</em>**<em>*</em>**<em>*</em>**<em>*</em>**<em>*</em>**</strong></p>
  
  <pre><code>BEGIN:VCALENDAR
  PRODID:-//Google Inc//Google Calendar 70.9054//EN
  VERSION:2.0
  CALSCALE:GREGORIAN
  METHOD:PUBLISH
  X-WR-CALNAME:DayLog
  X-WR-TIMEZONE:Europe/Brussels
  X-WR-CALDESC:
  **BEGIN:VEVENT**
  **DTSTART**;VALUE=DATE:20130308
  DTEND;VALUE=DATE:20130309
  DTSTAMP:20130307T143316Z
  UID:ab2hdo4i6f6t0gsre81qb4m0o4@google.com
  CREATED:20130306T093219Z
  **DESCRIPTION**:comment1.
  LAST-MODIFIED:20130306T093219Z
  LOCATION:
  SEQUENCE:0
  STATUS:CONFIRMED
  SUMMARY:8_3_13
  TRANSP:TRANSPARENT
  END:VEVENT
  **BEGIN:VEVENT**
  **DTSTART**;VALUE=DATE:20130307
  DTEND;VALUE=DATE:20130308
  DTSTAMP:20130307T143316Z
  UID:3j01a76v6lvg5870obsrl5t29g@google.com
  CREATED:20130306T093100Z
  **DESCRIPTION**:comment2
  LAST-MODIFIED:20130306T093100Z
  LOCATION:
  SEQUENCE:0
  STATUS:CONFIRMED
  SUMMARY:7_3_13
  TRANSP:TRANSPARENT
  END:VEVENT
  BEGIN:VEVENT
  DTSTART;VALUE=DATE:20130306
  DTEND;VALUE=DATE:20130307
  DTSTAMP:20130307T143316Z
  UID:bs8tb662lpvt7en3h78t67rluo@google.com
  ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=DayLog
   ;X-NUM-GUESTS=0:mailto:kpekivj6fliclchr39rccpmtkk@group.calendar.google.com
  CREATED:20130306T092953Z
  DESCRIPTION:comment3a
   comment3b
   comment3c
  LAST-MODIFIED:20130306T093034Z
  LOCATION:
  SEQUENCE:0
  STATUS:CONFIRMED
  SUMMARY:6_3_13
  TRANSP:TRANSPARENT
  END:VEVENT
  END:VCALENDAR
  </code></pre>