I need to split strings containing LC call numbers. Splitting at the space, I want to separate each chunk into its own variable. See sample LC call numbers below:
B2430 .R553 D813 1991
CB351 .C58 1983
D570.33 369th .N456 2009
DA 685 .B65 B45 1995
Using Python, is there a way to create as many holding variables as there are chunks? If yes, using .split method?
E.g.-
B2430 .R553 D813 1991 - var0= B2430, var1= .R553, var2= D813, var4= 1991
CB351 .C58 1983 - var0= CB351, var1= .C58, var2= 1983
Thanks in advance for any help.