187braintr...@berkeley.edu wrote:
From: MRAB mailto:pyt...@mrabarnett.plus.com>>
To: python-list@python.org <mailto:python-list@python.org>
Date: Wed, 16 Jun 2010 03:06:58 +0100
Subject: Re: Python editing .txt file
187braintr...@berkeley.edu <ma
>
> From: MRAB
> To: python-list@python.org
> Date: Wed, 16 Jun 2010 03:06:58 +0100
> Subject: Re: Python editing .txt file
> 187braintr...@berkeley.edu wrote:
>
>> I am trying to write a program in Python that will edit .txt log files
>> that contain regressio
MRAB mrabarnett.plus.com> writes:
> input_file = open(input_path)
> output_file = open(output_path, "w")
> for line in input_file:
> if line.startswith("factor("):
> open_paren = line.find("(")
> close_paren = line.find(")")
> variable = line[open_paren + 1 : close_
On 6/15/2010 9:28 PM, 187braintr...@berkeley.edu wrote:
I am trying to write a program in Python that will edit .txt log files
that contain regression output from R. Any thoughts or suggestions
would be greatly appreciated.
I once wrote programs (in C, Python should be easier) to process bmdp
187braintr...@berkeley.edu wrote:
I am trying to write a program in Python that will edit .txt log files
that contain regression output from R. Any thoughts or suggestions
would be greatly appreciated.
To get an idea of what I am trying to do, note that I include fixed
effects in the R regr
I am trying to write a program in Python that will edit .txt log files that
contain regression output from R. Any thoughts or suggestions would be
greatly appreciated.
To get an idea of what I am trying to do, note that I include fixed effects
in the R regressions, resulting in hundreds of extra