Merge your irssi logs with python