User Profile
Collapse
-
thanks for your suggestion zmbd. have updated the same -
python structuring of dict with nested
I have nested list below as test_data which is my input also and expected_data is the formatted output my question now is how to get expected output from test_data.
###Input given
...Code:test_data = [[u'', u'Sr. No.', u'TestCase ID', u'Iteration', u'Pre-requisites', u'Action:Parameter:Verification'], [u'', 1.0, u'IAE_001', 1.0, u"SET_MOBILE_NETWORK:DUT1:DUT1,network='TBD'\nSET_MOBILE_NETWORK:DUT2:DUT2,network='TBD'",'SEND_SMS:DUT1,DUT2,Msg:DUT1,Msg="Test
No activity results to display
Show More
Leave a comment: