Re: datamining .txt-files, library?

2008-05-16 Thread castironpi
On May 16, 3:22 am, [EMAIL PROTECTED] wrote:
> look at module re (rgular expression) or pyparser
>
> seehttp://nedbatchelder.com/text/python-parsers.html

This ties in to 'call tree tool?' from yesterday.  Do we have any
visualization modules?  My two examples were 're' and 'call trees'
--
http://mail.python.org/mailman/listinfo/python-list


Re: datamining .txt-files, library?

2008-05-16 Thread martindesalinas
look at module re (rgular expression) or pyparser

see http://nedbatchelder.com/text/python-parsers.html

--
http://mail.python.org/mailman/listinfo/python-list


Re: datamining .txt-files, library?

2008-05-15 Thread Bruno Desthuilliers

Chris a écrit :

On May 15, 2:27 pm, globalrev <[EMAIL PROTECTED]> wrote:

i have a big collection of .txt files that i want to open and parse to
extract information.

is there a library for this or maybe even built in?


os.open to open the files


What's wrong with (builtin) open ?

--
http://mail.python.org/mailman/listinfo/python-list


Re: datamining .txt-files, library?

2008-05-15 Thread Ville M. Vainio
Chris <[EMAIL PROTECTED]> writes:

> On May 15, 2:27 pm, globalrev <[EMAIL PROTECTED]> wrote:

>> i have a big collection of .txt files that i want to open and parse to
>> extract information.
>>
>> is there a library for this or maybe even built in?
>
> os.open to open the files and iterate through it and built in string
> functions to parse it.

Or more probably, regular expression library "re".
--
http://mail.python.org/mailman/listinfo/python-list


Re: datamining .txt-files, library?

2008-05-15 Thread globalrev
On 15 Maj, 14:40, George Sakkis <[EMAIL PROTECTED]> wrote:
> On May 15, 8:27 am, globalrev <[EMAIL PROTECTED]> wrote:
>
> > i have a big collection of .txt files that i want to open and parse to
> > extract information.
>
> > is there a library for this or maybe even built in?
>
> This has a lot to do with how well-structured are your files and what
> kind of information you hope to extract (shallow or deep). NLTK might
> be a good starting point:http://nltk.sourceforge.net/
>
> George

superstructured, 10K+files, all look the same.
--
http://mail.python.org/mailman/listinfo/python-list


Re: datamining .txt-files, library?

2008-05-15 Thread George Sakkis
On May 15, 8:27 am, globalrev <[EMAIL PROTECTED]> wrote:
> i have a big collection of .txt files that i want to open and parse to
> extract information.
>
> is there a library for this or maybe even built in?

This has a lot to do with how well-structured are your files and what
kind of information you hope to extract (shallow or deep). NLTK might
be a good starting point: http://nltk.sourceforge.net/

George
--
http://mail.python.org/mailman/listinfo/python-list


Re: datamining .txt-files, library?

2008-05-15 Thread Chris
On May 15, 2:27 pm, globalrev <[EMAIL PROTECTED]> wrote:
> i have a big collection of .txt files that i want to open and parse to
> extract information.
>
> is there a library for this or maybe even built in?

os.open to open the files and iterate through it and built in string
functions to parse it.
--
http://mail.python.org/mailman/listinfo/python-list