I would like to split a string of characters into 3 variables. When I just run a .split() I get ['AAA00000011']. I would like this to be split like:
var1 = AAA
var2 = 0000001
var3 = 1
The user is typing in these values into the command line on windows machine.
My Code:
barcode = raw_input('Please enter your barcode')
print "this is the barcode all split up", barcode.split()
Are you looking for this?