On Nov 30, 5:24 pm, MRAB wrote:
> Jeremy wrote:
> > I am using re.split to... well, split a string into sections. I want
> > to split when, following a new line, there are 4 or fewer spaces. The
> > pattern I use is:
>
> > sections = re.split('\n\s{,4}[^\s]', lineoftext)
>
> > This split
Jeremy wrote:
I am using re.split to... well, split a string into sections. I want
to split when, following a new line, there are 4 or fewer spaces. The
pattern I use is:
sections = re.split('\n\s{,4}[^\s]', lineoftext)
This splits appropriately but I lose the character matched by [^s
I am using re.split to... well, split a string into sections. I want
to split when, following a new line, there are 4 or fewer spaces. The
pattern I use is:
sections = re.split('\n\s{,4}[^\s]', lineoftext)
This splits appropriately but I lose the character matched by [^s]. I
know I can
On May 14, 1:04 pm, [EMAIL PROTECTED] wrote:
> On May 13, 10:56 pm, [EMAIL PROTECTED] wrote:
>
>
>
>
>
> > Hi,
> > I am parsing an xml file ,and one part of structure looks
> > something like this:
>
> > - > PhysicalLink="Infotainment_Control_Bus_CAN">
> > Infotainment_Control_Bus_CAN_TIMEOU
On May 13, 10:56 pm, [EMAIL PROTECTED] wrote:
> Hi,
> I am parsing an xml file ,and one part of structure looks
> something like this:
>
> - PhysicalLink="Infotainment_Control_Bus_CAN">
> Infotainment_Control_Bus_CAN_TIMEOUT_AX
> Timeout N_As/N_Ar
> Time from transmit request until a CAN
In <[EMAIL PROTECTED]>, saif.shakeel
wrote:
> Hi,
> I am parsing an xml file ,and one part of structure looks
> something like this:
>
> - PhysicalLink="Infotainment_Control_Bus_CAN">
> Infotainment_Control_Bus_CAN_TIMEOUT_AX
> Timeout N_As/N_Ar
> Time from transmit request until a CAN
On May 14, 2007, at 12:56 AM, [EMAIL PROTECTED] wrote:
> Hi,
> I am parsing an xml file ,and one part of structure looks
> something like this:
>
> - PhysicalLink="Infotainment_Control_Bus_CAN">
> Infotainment_Control_Bus_CAN_TIMEOUT_AX
> Timeout N_As/N_Ar
> Time from transmit request
Hi,
I am parsing an xml file ,and one part of structure looks
something like this:
-
Infotainment_Control_Bus_CAN_TIMEOUT_AX
Timeout N_As/N_Ar
Time from transmit request until a CAN frame transmit
confirmation is received.
In my code i am extracting the data within