emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Guido Van Hoecke <guivho@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: emacs-orgmode@gnu.org, aitors2005@gmail.org
Subject: Re: ical2org.py
Date: Tue, 21 May 2013 15:10:51 +0200	[thread overview]
Message-ID: <m261yc5vhg.fsf@gmail.com> (raw)
In-Reply-To: <87fvxgk2br.fsf@pinto.chemeng.ucl.ac.uk> (Eric S. Fraga's message of "Tue, 21 May 2013 12:19:20 +0100")

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> aitor <aitors2005@gmail.org> writes:
>
>> Hi,
>>
>> I've implemented a little script which converts ics files to
>> org-mode. You can find the script here:
>>
>> https://github.com/asoroa/ical2org.py
>
> Aitor,
>
> I would like to try this out but, as I am not a python user, I have no
> idea how to get the two bits you indicate being necessary (icalendar,
> pytz) installed.  I have installed python-dateutil and python-pycalendar
> as these looked the most obvious candidates for icalendar but no
> luck.  Searching the repositories for pytz draws a blank as well.

I got iCalendar from https://pypi.python.org/pypi/icalendar, untarred it
and ran `sudo python setup.py install'

Got pytz from https://pypi.python.org/pypi/pytz/. It comes as an egg
file so you just run `sudo easy-install pytz-2013b-py2.7.egg'

This command should get you going:
`./ical2org.py input.ics > output.org

Hope this helps,


Guido

--
Ever since prehistoric times, wise men have tried to understand what,
exactly, make people laugh.  That's why they were called "wise men."
All the other prehistoric people were out puncturing each other with
spears, and the wise men were back in the cave saying: "How about:
Would you please take my wife?  No.  How about: Here is my wife, please
take her right now.  No.  How about:  Would you like to take something?
My wife is available.  No.  How about ..."
		-- Dave Barry, "Why Humor is Funny"

  parent reply	other threads:[~2013-05-21 13:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-12 10:04 ical2org.py aitor
2013-05-14  8:37 ` ical2org.py Bastien
2013-05-14 20:40   ` ical2org.py Simon Thum
2013-05-14 22:56     ` ical2org.py Bastien
2013-05-15  8:01       ` ical2org.py aitor
2013-05-16 19:41         ` ical2org.py Simon Thum
2013-05-16 19:47           ` ical2org.py Bastien
2013-05-21 11:19 ` ical2org.py Eric S Fraga
2013-05-21 11:54   ` ical2org.py François Pinard
2013-05-21 13:10   ` Guido Van Hoecke [this message]
2013-05-21 15:09     ` ical2org.py aitor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m261yc5vhg.fsf@gmail.com \
    --to=guivho@gmail.com \
    --cc=aitors2005@gmail.org \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).