Your terminal is entering encoded characters; you are using UTF-8, and thus Python receives two bytes when you type é
.
Decode from UTF-8 in that case:
>>> print 'pr\xc3\xa9venteur'.decode('utf8')
préventeur
You really want to read up on Python and Unicode though: