I cannot seem to get Reportlab's 4 state bar code to work. I keep getting "NameError: name 'USPS_4State' is not defined", yet if I 'dir' the module it's clearly loaded;
arcode', 'USPS_4State', '__all__', '__builtins__', '__doc__', '__file__', '__
e__', '__package__', '__version__', '_crc11', '_initNof13Table', '_ru13', '_t
The usage is correct as far as I know, I copied the example from the Docs:
print USPS_4State('1234987654321', '01234567891').barcodes
What am I doing wrong?, I'm relatively new to Python, but not programming.
Edited 6 Years Ago by Tommymac501: n/a