Feb-24-2019, 07:58 AM
(This post was last modified: Feb-24-2019, 07:59 AM by searching1.)
@buran Awesome, Thank you very much. But, Seems like I have unlocked a new problem lol... After running this from my original file which Im working, It's not writing any data on the CSV, maybe u have encountered/ any idea with this?
Although I have isolated the export csv and verified its working.
Question regaing the given code.
opo = [[ele] for ele in opo] - What we did here is we create a specifically significant variable(ELE) which we put the opo list into the ele list.
since this is specifically significant with opo it self, we can still use the ELE as naming to others.
then we put the list into zip and this itertools.izip_longest(*iterables[, fillvalue]) is fill all the blank data a loop until find the longest match/value.
Again Thanks :)
Although I have isolated the export csv and verified its working.
Question regaing the given code.
opo = [[ele] for ele in opo] - What we did here is we create a specifically significant variable(ELE) which we put the opo list into the ele list.
since this is specifically significant with opo it self, we can still use the ELE as naming to others.
then we put the list into zip and this itertools.izip_longest(*iterables[, fillvalue]) is fill all the blank data a loop until find the longest match/value.
Again Thanks :)