Re: write the values of an ordered dictionary into a file

2018-06-21 Thread Peter Otten
Ganesh Pal wrote: > Hi Team There is no team, just some random guys on the net. Sorry to disappoint you... > I need to write the values of an ordered dictionary into a file . All > values should be in a single row with a header list > > > > *Example:* > > >

Re: write the values of an ordered dictionary into a file

2018-06-21 Thread MRAB
On 2018-06-21 18:11, Ganesh Pal wrote: > Hi Team > > I need to write the values of an ordered dictionary into a file . All > values should be in a single row with a header list > > *Example:* > > *student = [("NAME", "John"),* > *

Re: write the values of an ordered dictionary into a file

2018-06-21 Thread Peter Pearson
On Thu, 21 Jun 2018 22:41:48 +0530, Ganesh Pal wrote: [snip] [what I think OP wants:] > > *.* > > *||STUDENT NAME||STUDENT AGE||MARKS SCORED||PASSED YEAR||FEES PAID||* > > *||John|| 28 || 13|| 2018 || 250

write the values of an ordered dictionary into a file

2018-06-21 Thread Ganesh Pal
Hi Team I need to write the values of an ordered dictionary into a file . All values should be in a single row with a header list *Example:* *student = [("NAME", "John"),* * ("AGE", 28),* * ("SCORE", 13),* * (