Re: [Tutor] Parse text with python

2013-10-17 Thread Danny Yoo
Yes. Concretely, I'm trying to see if it's appropriate to look at this: ### -LAL USER FILE- NAME UORD T/O O OXIT RXIT SMAX INUSE PCT --- - - - - --- J4IB

Re: [Tutor] Parse text with python

2013-10-17 Thread David Rock
* Danilo Chilene [2013-10-17 17:55]: > Hi, > > The part that always change is the , it can be 1 digit or 4 digits. > Example: 1. > The part that never changes is the 1700. I think the point is we have a hard time believing that 1700 will never change. What do you plan to do when it does dow

Re: [Tutor] Parse text with python

2013-10-17 Thread Danny Yoo
> > > The part that always change is the , it can be 1 digit or 4 digits. > Example: 1. > The part that never changes is the 1700. > > You most likely need to be more specific with your pattern matching. Why should we expect no other numbers to be "1700"? I see several fields in the form tha

Re: [Tutor] Parse text with python

2013-10-17 Thread Danilo Chilene
Hi, The part that always change is the , it can be 1 digit or 4 digits. Example: 1. The part that never changes is the 1700. On Thu, Oct 17, 2013 at 5:37 PM, Danny Yoo wrote: > Do you have other domain-specific information about this text? > Concretely: if you have another similar report,

Re: [Tutor] Parse text with python

2013-10-17 Thread Danny Yoo
Do you have other domain-specific information about this text? Concretely: if you have another similar report, what parts will have to stay the same, and what parts might change? You want to make sure whatever you're using to anchor and search is based on something stable. Otherwise, your progra

Re: [Tutor] Parse text with python

2013-10-17 Thread Mark Lawrence
On 17/10/2013 20:54, Danilo Chilene wrote: Hello, I have the text below: CSMP0097I 14.42.12 CPU-B SS-BSS SSU-AA IS-02 -LAL USER CONTROL FILE- MAXIMUM DEFINABLE USERS- 14999 MAXIMUM CONFIGURABLE USERS - 11790 CURRENT NUMBER USERS - 09692 USER FLUSH CRET TIME VALUE -5 -LAL USE

Re: [Tutor] Parse text with python

2013-10-17 Thread Albert-Jan Roskam
On Thursday, October 17, 2013 9:54 PM, Danilo Chilene wrote: Hello, > >I have the text below: > >CSMP0097I 14.42.12 CPU-B SS-BSS  SSU-AA   IS-02 >  >-LAL USER CONTROL FILE- >MAXIMUM DEFINABLE USERS    - 14999 >MAXIMUM CONFIGURABLE USERS - 11790 >CURRENT NUMBER USERS -   09692 > USER FLUSH

[Tutor] Parse text with python

2013-10-17 Thread Danilo Chilene
Hello, I have the text below: CSMP0097I 14.42.12 CPU-B SS-BSS SSU-AA IS-02 -LAL USER CONTROL FILE- MAXIMUM DEFINABLE USERS- 14999 MAXIMUM CONFIGURABLE USERS - 11790 CURRENT NUMBER USERS - 09692 USER FLUSH CRET TIME VALUE -5 -LAL USER FILE- NAME UORD T/O O OXIT RXIT