Re: Convert c file to csv file(unix format) in python

2015-05-22 Thread Denis McMahon
On Wed, 20 May 2015 01:57:51 +, Denis McMahon wrote: > Based on the sample you sent, the output csv file is 1657 lines in > length, and the first and last lines are: [snip] Well he didn't tell me if I was generating the right output, or what was wrong with it if it was wrong, so I guess he

Re: Convert c file to csv file(unix format) in python

2015-05-19 Thread Denis McMahon
On Tue, 19 May 2015 12:26:05 -0700, umasrinath88 wrote: > I have shared c file with you.Iorder to convert to unix format csv, > below are the main steps we can follow. What you're trying to do doesn't match with what you're explaining here. What you're actually trying to do is extract a constant

Re: Convert c file to csv file(unix format) in python

2015-05-19 Thread Grant Edwards
On 2015-05-19, umasrinat...@gmail.com wrote: > I have a python script file which converts .hex file to c file. > > Can anyone help me in converting .c file to csv file (unix format). #import os,sys os.rename(sys.argv[1],sy

Re: Convert c file to csv file(unix format) in python

2015-05-19 Thread umasrinath88
On Tuesday, May 19, 2015 at 11:51:20 PM UTC+5:30, Denis McMahon wrote: > On Tue, 19 May 2015 09:30:15 -0700, umasrinath88 wrote: > > > I have a python script file which converts .hex file to c file. > > Hex is generally an ascii file containing hexadecimal values. > > .c is generally an ascii f

Re: Convert c file to csv file(unix format) in python

2015-05-19 Thread Denis McMahon
On Tue, 19 May 2015 09:30:15 -0700, umasrinath88 wrote: > I have a python script file which converts .hex file to c file. Hex is generally an ascii file containing hexadecimal values. .c is generally an ascii file formatted in a way that corrsponds to the structures of the c programming langua

Re: Convert c file to csv file(unix format) in python

2015-05-19 Thread umasrinath88
On Tuesday, May 19, 2015 at 10:15:43 PM UTC+5:30, Mihamina Rakotomandimby wrote: > On 05/19/2015 07:30 PM, umasrinat...@gmail.com wrote: > > Can anyone help me in converting .c file to csv file (unix format). > > > > > Would you give a sample? Hi Mihamina, I have sent you the complete work folder

Re: Convert c file to csv file(unix format) in python

2015-05-19 Thread Mihamina Rakotomandimby
On 05/19/2015 07:30 PM, umasrinat...@gmail.com wrote: Can anyone help me in converting .c file to csv file (unix format). Would you give a sample? -- https://mail.python.org/mailman/listinfo/python-list

Convert c file to csv file(unix format) in python

2015-05-19 Thread umasrinath88
Hi All, I have a python script file which converts .hex file to c file. Can anyone help me in converting .c file to csv file (unix format). Regards, Uma -- https://mail.python.org/mailman/listinfo/python-list