Re: Python Data Utils

2008-04-07 Thread Jesse Aldridge
> But then you introduced more. oops. old habits... > mxTextTools. This looks cool, so does the associated book - "Text Processing in Python". I'll look into them. > def normalise_whitespace(s): >     return ' '.join(s.split()) Ok, fixed. > a.replace('\xA0', ' ') in there somewhere. Added.

Re: Python Data Utils

2008-04-07 Thread John Machin
On Apr 7, 4:22 pm, Jesse Aldridge <[EMAIL PROTECTED]> wrote: > > > changing "( " to "(" and " )" to ")". > > Changed. But then you introduced more. > > I attempted to take out everything that could be trivially implemented > with the standard library. > This has left me with... 4 functions in S.p

Re: Python Data Utils

2008-04-06 Thread Jesse Aldridge
> Docstrings go *after* the def statement. Fixed. > changing "( " to "(" and " )" to ")". Changed. I attempted to take out everything that could be trivially implemented with the standard library. This has left me with... 4 functions in S.py. 1 one of them is used internally, and the others a

Re: Python Data Utils

2008-04-06 Thread Gabriel Genellina
En Sun, 06 Apr 2008 11:34:11 -0300, Jesse Aldridge <[EMAIL PROTECTED]> escribió: > On Apr 6, 6:14 am, "Konstantin Veretennicov" <[EMAIL PROTECTED]> > wrote: >> On Sun, Apr 6, 2008 at 7:43 AM, Jesse Aldridge >> <[EMAIL PROTECTED]> wrote: >> > In an effort to experiment with open source, I put a

Re: Python Data Utils

2008-04-06 Thread John Machin
On Apr 7, 12:32 am, Jesse Aldridge <[EMAIL PROTECTED]> wrote: > Thanks for the detailed feedback. I made a lot of modifications based > on your advice. Mind taking another look? > > > Some names are a bit obscure - "universify"? > > Docstrings would help too, and blank lines > > I changed the nam

Re: Python Data Utils

2008-04-06 Thread Jesse Aldridge
On Apr 6, 6:14 am, "Konstantin Veretennicov" <[EMAIL PROTECTED]> wrote: > On Sun, Apr 6, 2008 at 7:43 AM, Jesse Aldridge <[EMAIL PROTECTED]> wrote: > > In an effort to experiment with open source, I put a couple of my > >  utility files up http://github.com/jessald/python_data_utils/ > >  tree/mast

Re: Python Data Utils

2008-04-06 Thread Jesse Aldridge
Thanks for the detailed feedback. I made a lot of modifications based on your advice. Mind taking another look? > Some names are a bit obscure - "universify"? > Docstrings would help too, and blank lines I changed the name of universify and added a docstrings to every function. > ...PEP8 I ma

Re: Python Data Utils

2008-04-06 Thread Konstantin Veretennicov
On Sun, Apr 6, 2008 at 7:43 AM, Jesse Aldridge <[EMAIL PROTECTED]> wrote: > In an effort to experiment with open source, I put a couple of my > utility files up http://github.com/jessald/python_data_utils/ > tree/master">here. What do you think? Would you search for, install, learn and use thes

Re: Python Data Utils

2008-04-06 Thread Gabriel Genellina
En Sun, 06 Apr 2008 01:43:29 -0300, Jesse Aldridge <[EMAIL PROTECTED]> escribió: > In an effort to experiment with open source, I put a couple of my > utility files up http://github.com/jessald/python_data_utils/ > tree/master">here. What do you think? Some names are a bit obscure - "universif

Python Data Utils

2008-04-05 Thread Jesse Aldridge
In an effort to experiment with open source, I put a couple of my utility files up http://github.com/jessald/python_data_utils/ tree/master">here. What do you think? -- http://mail.python.org/mailman/listinfo/python-list