Python is a modern and practical programming language, with decent error handling.

Debugging

edit

Pywikibot scripts can be difficult to debug. Python debugging (pdb) can be a powerful tool, but seems not to be very good documented.

import pdb
pdb.set_trace()

See also

edit