Re: newbe's re question

2006-09-26 Thread Frederic Rentsch
[EMAIL PROTECTED] wrote: > Frederic Rentsch wrote: > >> [EMAIL PROTECTED] wrote: >> >>> These are csound files. Csound recently added python as a scripting >>> language and is allowing also allowing csound calls from outside of >>> csound. The nice thing about csound is that instead of wo

Re: newbe's re question

2006-09-24 Thread [EMAIL PROTECTED]
Frederic Rentsch wrote: > [EMAIL PROTECTED] wrote: > > These are csound files. Csound recently added python as a scripting > > language and is allowing also allowing csound calls from outside of > > csound. The nice thing about csound is that instead of worrying about > > virus and large files i

Re: newbe's re question

2006-09-24 Thread Frederic Rentsch
[EMAIL PROTECTED] wrote: > These are csound files. Csound recently added python as a scripting > language and is allowing also allowing csound calls from outside of > csound. The nice thing about csound is that instead of worrying about > virus and large files it is an interpiter and all the file

Re: newbe's re question

2006-09-23 Thread [EMAIL PROTECTED]
These are csound files. Csound recently added python as a scripting language and is allowing also allowing csound calls from outside of csound. The nice thing about csound is that instead of worrying about virus and large files it is an interpiter and all the files look somewhat like html. 4,000

Re: newbe's re question

2006-09-21 Thread Frederic Rentsch
[EMAIL PROTECTED] wrote: > Frederic Rentsch wrote: > >> [EMAIL PROTECTED] wrote: >> >>> Frederic Rentsch wrote: >>> >>> [EMAIL PROTECTED] wrote: > All I am after realy is to change this > > reline = re.line.split('instr', '/d$') > > into s

Re: newbe's re question

2006-09-20 Thread [EMAIL PROTECTED]
Frederic Rentsch wrote: > [EMAIL PROTECTED] wrote: > > Frederic Rentsch wrote: > > > >> [EMAIL PROTECTED] wrote: > >> > >>> All I am after realy is to change this > >>> > >>> reline = re.line.split('instr', '/d$') > >>> > >>> into something that grabs any line with instr in it take all the > >>>

Re: newbe's re question

2006-09-20 Thread Frederic Rentsch
[EMAIL PROTECTED] wrote: > Frederic Rentsch wrote: > >> [EMAIL PROTECTED] wrote: >> >>> All I am after realy is to change this >>> >>> reline = re.line.split('instr', '/d$') >>> >>> into something that grabs any line with instr in it take all the >>> numbers and then grab any comment that

Re: newbe's re question

2006-09-20 Thread [EMAIL PROTECTED]
Frederic Rentsch wrote: > [EMAIL PROTECTED] wrote: > > All I am after realy is to change this > > > > reline = re.line.split('instr', '/d$') > > > > into something that grabs any line with instr in it take all the > > numbers and then grab any comment that may or may not be at the end of > > the

Re: newbe's re question

2006-09-20 Thread Frederic Rentsch
[EMAIL PROTECTED] wrote: > All I am after realy is to change this > > reline = re.line.split('instr', '/d$') > > into something that grabs any line with instr in it take all the > numbers and then grab any comment that may or may not be at the end of > the line starting with ; until the end of the

Re: newbe's re question

2006-09-20 Thread Eric
[EMAIL PROTECTED] wrote: > All I am after realy is to change this > > reline = re.line.split('instr', '/d$') > > into something that grabs any line with instr in it take all the > numbers and then grab any comment that may or may not be at the end of > the line starting with ; until the end of the

Re: newbe's re question

2006-09-19 Thread MonkeeSage
Hi Eric, Don't let people offput you from learning python. It's a great language, and is fun to use. But really, George does have a point -- if you want to learn python, then the best way is to swim with the tide rather than against it. But still, don't worry too much about being pythonic and what

Re: newbe's re question

2006-09-19 Thread [EMAIL PROTECTED]
George Sakkis wrote: > [EMAIL PROTECTED] wrote: > > > All I am after realy is to change this > > > > reline = re.line.split('instr', '/d$') > > If you think this is the only problem in your code, think again; almost > every other line has an error or an unpythonic idiom. Have you read any > tutor

Re: newbe's re question

2006-09-19 Thread George Sakkis
[EMAIL PROTECTED] wrote: > All I am after realy is to change this > > reline = re.line.split('instr', '/d$') If you think this is the only problem in your code, think again; almost every other line has an error or an unpythonic idiom. Have you read any tutorial or sample code before typing this

newbe's re question

2006-09-19 Thread [EMAIL PROTECTED]
All I am after realy is to change this reline = re.line.split('instr', '/d$') into something that grabs any line with instr in it take all the numbers and then grab any comment that may or may not be at the end of the line starting with ; until the end of the line including white spaces.. this