hi,
I am using reportlab to generate pdf but having a problem in making list in tabular format.
final list should be in this format:
list =[ ,
,
,
]
data =[]
data.append('companies')
for item in some_list:
data.insert(0, item) -> Assuming item gives me values = 1, 2, 3
if industries:
data.insert(1, 'industries)
for item in some_list:
data.insert(1, item) -> Assuming item gives me values = 11, 22, 33
so my final data should be in above list format.
list =[ ,
,
,
]
How to implement it??? I know above code is wrong way of implementing it.
Can any one help me out
Thanks.