from reportlab.lib import units def cm(n): return n * units.cm def mm(n): return n * units.mm