Gary Herron wrote:
[EMAIL PROTECTED] wrote:
On Jun 2, 2:08 am, "kalakouentin" <[EMAIL PROTECTED]> wrote:
Do you know a way to actually load my data in a more
"batch-like" way so I will avoid the constant line by line reading?
If your files will fit in memory, you can just do
text =
kalakouentin wrote:
> I use python in order to analyze my data which are in a text form. The
> script is fairly simple. It reads a line form the input file, computes
> what it must compute and then write it it to a buffer/list. When the
> whole reading file is processed (essential all lines) then t
[EMAIL PROTECTED] wrote:
On Jun 2, 2:08 am, "kalakouentin" <[EMAIL PROTECTED]> wrote:
Do you know a way to actually load my data in a more
"batch-like" way so I will avoid the constant line by line reading?
If your files will fit in memory, you can just do
text = file.readlines()
a
On Jun 2, 2:08 am, "kalakouentin" <[EMAIL PROTECTED]> wrote:
> Do you know a way to actually load my data in a more
> "batch-like" way so I will avoid the constant line by line reading?
If your files will fit in memory, you can just do
text = file.readlines()
and Python will read the entire fi
kalakouentin wrote:
I use python in order to analyze my data which are in a text form. The
script is fairly simple. It reads a line form the input file, computes
what it must compute and then write it it to a buffer/list. When the
whole reading file is processed (essential all lines) then the
alg