Evernote is arguably the best note taking application out there. There are versions for all major operating systems, including mobile ones. I have been an Evernote user for more than 5 years now, and I use it for both work related and personal notes.

All my meeting notes end up in Evernote, although I’m careful not to include client/work sensitive information in it. Even though you can encrypt individual notes, I rather keep that information out of the cloud.

The Problem

Every time I went to a meeting, I ended up retyping the same information inside notes over and over again. You can create Templates in the Desktop versions of Evernote, but they haven’t been implemented in the iOS version of the program yet. Additionally, There is no way to create a customized note based on a pre-formatted template.

The Solution

Pythonista for iOS is truly an impressive application created by Ole Zorn. In a nutshell, it’s a Python interpreter for iOS devices. You can import scripts from GitHub and share yours as well. It includes many key Python libraries and several methods that allow you to interact with the iPhone/iPad.

We are going to use Pythonista to access our Evernote account (internet connection required) and create a meeting template which will be customized based on certain info related to that particular event.

What Do You Need?

  • An Evernote account.
  • Pythonista for iOS (link and description below).
  • Evernote API in Pythonista. Although installing a Python API can be relatively easy on a desktop OS, it is not as straight forward on iOS. Thankfully, Ole’s has put together a script which does just that.
  • Evernote Developer Token. Go here to get your token from Evernote. Keep in mind that the token is usually good for just on year, so you will need to get a new one when it expires.
  • My script. You can get it [here](http://gist: https://gist.github.com/Moving-Electrons/7000517)

About The Script

The script was put together based on this example in the Pythonista Documentation. I had to dig into Evernote’s API to find out how to write a note in a Notebook different from the default one (in the case of my script, it is the Work Notebook, but that can be easily modified in the code).

The template generated includes the following fields shown in Evernote Markup Language: Date, Time, Attendance, Objective, Remarks and Action Items.

When run, the script lists all notebooks in a user’s account (just as reference), asks for the new note’s title (automatically adding the current date at the end in ISO format YYYY-MM-DD), and finally requests the tags to be assigned to the note which will be created in a pre-defined notebook (hard coded in the ntbkName variable).

See below a couple of images showing the interaction with the script in the iPad and the final result (click to enlarge).

Python script running on iPad
Newly created note in Evernote for Windows.