Search code examples
pythonirc

Python 2 vs Python 3 for an IRC bot?


Which would it make more sense to code an IRC bot in: Python 2 or 3? With 3 I heard you have to do extra stuff because it's unicode(?).


Solution

  • It shouldn't matter. Python 3 is more Unicode compatible, but that's only a good thing.

    The most obvious and visible thing changed in Python 3 is print. In Python 3.0 it is a function and requires parentheses.