In [1]:

```
import urllib2
archive_file = urllib2.urlopen('https://raw.githubusercontent.com/HappyPenguin/OpenScience/master/FSLmailinglist_archive_April2014.txt')
archive_lines = archive_file.readlines()
archive_lines = [ line.rstrip() for line in archive_lines]
```

The first few lines of this file are:

In [2]:

```
for line in archive_lines[:10]:
print line
```

In [3]:

```
len(archive_lines)
```

Out[3]:

286

*last* '(' character, discard everything to the left of that, and strip out the constant string ' messages)' from the part that's left.

In [4]:

```
archive_messages_n = [ x.rsplit('(',1)[1].rstrip(' messages)') for x in archive_lines ]
print archive_messages_n[:10]
```

['5', '1', '1', '6', '6', '2', '2', '1', '12', '2']

In [5]:

```
import numpy as np
array = np.array(archive_messages_n, dtype=np.int)
print array.sum()
```

871

**871 emails in one month! Crazy days!**

Thank you FMRIB ;)

In [43]:

```
```