Hi,
Thanks a lot for the snips you have included in your post...
those were quite helpful...
And about the 3rd party data
we receive the data in csv format ... but we are not supposed to modify
the files provided by the user directly...
Instead we make another file with the same name & differ
sonald wrote:
> Hi,
> I am using
> Python version python-2.4.1 and along with this there are other
> installables
> like:
> 1. fastcsv-1.0.1.win32-py2.4.exe
Well, you certainly didn't get that from the object-craft website --
just go and look at their download page
http://www.object-craft.com.au/p
On 31 Aug 2006 00:25:38 -0700, sonald <[EMAIL PROTECTED]> wrote:
> Hi,
> I am using
> Python version python-2.4.1 and along with this there are other
> installables
> like:
> 1. fastcsv-1.0.1.win32-py2.4.exe
> 2. psyco-1.4.win32-py2.4.exe
> 3. scite-1.63-setup.exe
>
> We are freshers here, joined n
sonald wrote:
> Python version python-2.4.1 and along with this there are other
> installables like:
> 1. fastcsv-1.0.1.win32-py2.4.exe
I get zero hits for that file on google. are you sure that's not an
in-house tool ? asking comp.lang.python for help on internal tools
isn't exactly optimal.
Hi,
I am using
Python version python-2.4.1 and along with this there are other
installables
like:
1. fastcsv-1.0.1.win32-py2.4.exe
2. psyco-1.4.win32-py2.4.exe
3. scite-1.63-setup.exe
We are freshers here, joined new... and are now into handling this
module which validates the data files, which ar
sonald> fast csv is the the csv module for Python... and actually the
sonald> string cannot be modified because it is received from a third
sonald> party and we are not supposed to modify the data in any way..
sonald> for details on the fast CSV module please visit
sonald> w
"sonald" wrote:
> fast csv is the the csv module for Python...
no, it's not. the csv module for Python is called "csv".
> and actually the string cannot be modified because
> it is received from a third party and we are not supposed to modify the
> data in any way..
that doesn't prevent you fr
Hi ,
thanks for the reply...
fast csv is the the csv module for Python...
and actually the string cannot be modified because
it is received from a third party and we are not supposed to modify the
data in any way..
for details on the fast CSV module please visit
www.object-craft.com.au/projects
sonald> Can anybody tell me how to change the text delimiter in FastCSV
sonald> Parser? By default the text delimiter is double quotes(") I
sonald> want to change it to anything else... say a pipe (|).. can
sonald> anyone please tell me how do i go about it?
I'm not familiar wit
"sonald" wrote:
> Thanks for a quick response...
> E.g record is: "askin"em"
that's usually stored as "askin""em" in a CSV file, and the csv module
has no problem handling that:
>>> import csv, StringIO
>>> source = StringIO.StringIO('"askin""em"\n')
>>> list(csv.reader(source))
Hi Amit,
Thanks for a quick response...
E.g record is: "askin"em"
This entire text is extracted as one string but since the qualifier is
double quotes("), therefore fastcsv parser is unable to parse it.
If we can change the text qualifier to pipe(|), then the string will
look like this:
|askin"em
On 8/30/06, Amit Khemka <[EMAIL PROTECTED]> wrote:
> sonald <[EMAIL PROTECTED]> wrote:
> > Hi,
> > Can anybody tell me how to change the text delimiter in FastCSV Parser
> > ?
> > By default the text delimiter is double quotes(")
> > I want to change it to anything else... say a pipe (|)..
Btw, I
sonald <[EMAIL PROTECTED]> wrote:
> Hi,
> Can anybody tell me how to change the text delimiter in FastCSV Parser
> ?
> By default the text delimiter is double quotes(")
> I want to change it to anything else... say a pipe (|)..
> can anyone please tell me how do i go about it?
You can use the pars
13 matches
Mail list logo