Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90890
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!not-for-mail |
|---|---|
| From | Grant Edwards <invalid@invalid.invalid> |
| Newsgroups | comp.lang.python |
| Subject | Re: Convert c file to csv file(unix format) in python |
| Date | Tue, 19 May 2015 19:36:34 +0000 (UTC) |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 15 |
| Message-ID | <mjg3c2$deg$1@reader1.panix.com> (permalink) |
| References | <c9733ddb-7f97-4fcf-9dad-a4481d1d3e5d@googlegroups.com> |
| NNTP-Posting-Host | 67-130-15-94.dia.static.qwest.net |
| X-Trace | reader1.panix.com 1432064194 13776 67.130.15.94 (19 May 2015 19:36:34 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Tue, 19 May 2015 19:36:34 +0000 (UTC) |
| User-Agent | slrn/1.0.1 (Linux) |
| Xref | csiph.com comp.lang.python:90890 |
Show key headers only | View raw
On 2015-05-19, umasrinath88@gmail.com <umasrinath88@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],sys.argv[1].replace('.c','.csv'))
------------------------------------------------------------------------
--
Grant Edwards grant.b.edwards Yow! I want a WESSON OIL
at lease!!
gmail.com
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Convert c file to csv file(unix format) in python umasrinath88@gmail.com - 2015-05-19 09:30 -0700
Re: Convert c file to csv file(unix format) in python Mihamina Rakotomandimby <mihamina.rakotomandimby@rktmb.org> - 2015-05-19 19:48 +0300
Re: Convert c file to csv file(unix format) in python umasrinath88@gmail.com - 2015-05-19 10:14 -0700
Re: Convert c file to csv file(unix format) in python Denis McMahon <denismfmcmahon@gmail.com> - 2015-05-19 18:20 +0000
Re: Convert c file to csv file(unix format) in python umasrinath88@gmail.com - 2015-05-19 12:26 -0700
Re: Convert c file to csv file(unix format) in python Denis McMahon <denismfmcmahon@gmail.com> - 2015-05-20 01:57 +0000
Re: Convert c file to csv file(unix format) in python Denis McMahon <denismfmcmahon@gmail.com> - 2015-05-22 19:48 +0000
Re: Convert c file to csv file(unix format) in python Grant Edwards <invalid@invalid.invalid> - 2015-05-19 19:36 +0000
csiph-web