hon
To:
Sent: Monday, September 04, 2006 10:52 PM
Subject: Re: newbe question about removing items from one file to another file
> I am have to be able to distribute se with the project in order to use
> it
> I started with import se but I did not use the setup command
> when I commen
:
> - Original Message -
> From: <[EMAIL PROTECTED]>
> Newsgroups: comp.lang.python
> To:
> Sent: Monday, September 04, 2006 4:58 AM
> Subject: Re: newbe question about removing items from one file to another file
>
>
> >
> > Anthra Norell wrote:
&
- Original Message -
From: <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python
To:
Sent: Monday, September 04, 2006 4:58 AM
Subject: Re: newbe question about removing items from one file to another file
>
> Anthra Norell wrote:
> > Dexter,
> >
> > Here
gment in instrument_segments.split ('\n\n'):
> if segment:
>instr_line = Instrument_Number (segment)
>instrument_number = instr_line.split ()[1]
>instruments [instrument_number] = segment
>
> ----------
file
> (from to )? Right? Or
> each block to its own file in case there are several?. You want your code to
> generate the file names? Can you confirm this or
> explain it differently?
>
> Regards
>
> Frederic
>
>
> - Original Message -
> From: <
> > >
> > >
> > > -
> > >
> > > If I understand correctly you want to write the instruments block to a
> > > file (from to )? Right? Or
> > > each block to its own file in case there are several?. You w
gment in instrument_segments.split ('\n\n'):
> if segment:
>instr_line = Instrument_Number (segment)
>instrument_number = instr_line.split ()[1]
>instruments [instrument_number] = segment
>
> ----------
ou, take them out with an additional
definition when you make your
Instrument_Block_Filter: (13)= or "\r=")
Regards
Frederic
- Original Message -
From: <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python
To:
Sent: Wednesday, August 30, 2006 1:51 AM
Subject: Re: ne
to its own file in case there are several?. You want your code
> > to generate the file names? Can you confirm this or
> > explain it differently?
> >
> > Regards
> >
> > Frederic
> >
> >
> > - Original Message -
> > From:
file
> (from to )? Right? Or
> each block to its own file in case there are several?. You want your code to
> generate the file names? Can you confirm this or
> explain it differently?
>
> Regards
>
> Frederic
>
>
> - Original Message -
> From: <
Message -
From: <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python
To:
Sent: Monday, August 28, 2006 10:48 AM
Subject: Re: newbe question about removing items from one file to another file
>
> Anthra Norell wrote:
> > Eric,
> >Having played around with problems of this ki
At Sunday 27/8/2006 18:35, [EMAIL PROTECTED] wrote:
(This code don't even compile...!)
def simplecsdtoorc(filename):
file = open(filename,"r")
file is not a good name - hides the builtin type of the same name.
Same for dict, list...
alllines = file.read_until("")
read_until???
Anthra Norell wrote:
> Eric,
>Having played around with problems of this kind for quite some time I find
> them challenging even if I don't really have time to
> get sidetracked. Your description of the problem makes it all the more
> challenging, because its 'expressionist' quality adds the
Eric,
Having played around with problems of this kind for quite some time I find
them challenging even if I don't really have time to
get sidetracked. Your description of the problem makes it all the more
challenging, because its 'expressionist' quality adds the
challenge of guessing what you
[EMAIL PROTECTED] wrote:
> def simplecsdtoorc(filename):
> file = open(filename,"r")
> alllines = file.read_until("")
> pattern1 = re.compile(" orcfilename = filename[-3:] + "orc"
> for line in alllines:
> if not pattern1
> print >>orcfilename, line
>
> I am
PetDragon wrote:
> Sounds like you need to use html parser, check it out in the
> documentation
>
>
>
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > def simplecsdtoorc(filename):
> >file = open(filename,"r")
> >alllines = file.read_until("")
> >pattern1 = re.co
Sounds like you need to use html parser, check it out in the
documentation
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> def simplecsdtoorc(filename):
>file = open(filename,"r")
>alllines = file.read_until("")
>pattern1 = re.compile("orcfilename = filename[-
17 matches
Mail list logo