Scenario 2 – encode + Python = merry hell