problem with setup.py

2005-09-17 Thread andrea valle
ll error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "" but "10.3" during configure What should I do? I guess I have to hack some configuration, but don't know which. Thanks a lot -a- Andrea Valle Laboratorio multimediale "G. Quazza" Facoltà di Scienze della

Re: problem with setup.py

2005-09-17 Thread andrea valle
Thanks a lot. I have bash as shell but I ignore what > your ~/.bashrc means. Have I to edit a file? Where should it be? Thanks again -a- On 17 Sep 2005, at 12:46, Robert Kern wrote: > andrea valle wrote: >> Hi to all, >> and sorry for cross-posting. >> >

scheduling accuracy for audio

2006-07-09 Thread andrea valle
music. Any hints? Thanks a lot Best -a- Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: scheduling accuracy for audio

2006-07-09 Thread andrea valle
Thanks Paul, that's what I suspected. -a- On 9 Jul 2006, at 19:22, Paul Rubin wrote: > andrea valle <[EMAIL PROTECTED]> writes: >> In order to have sequencing I have to send at precise timing messages >> from Python to SC. Obviously, being a musical application,

executing a command

2005-06-04 Thread andrea valle
Hi to all, I need to run a program from inside python (substantially, algorithmic batch processing). I'm on mac osx 10.3.8 with python 2.3 framework and macpython. Trying to use exec*, I checked references, Brueck & Tanner, and then grab this code from effbot: >>> program = "python" >>> de

Re: executing a command

2005-06-05 Thread andrea valle
gument will > always be used as the program "name" (argv[0]), so unless you a reason > to do otherwise, pass the same name as the file that you are calling. > > > Regards, > Tiago S Daitx > > On 6/4/05, andrea valle <[EMAIL PROTECTED]> wrote: >> Hi

ascii-unicode replacement

2007-04-05 Thread Andrea Valle
outFile = codecs.open(outFileName, encoding='utf-8', mode="w") outFile.write(text) outFile.close() def run(self): for aFileName in self.files: outFileName = aFileName.split(".")[0]+"UT

Re: ascii-unicode replacement

2007-04-05 Thread Andrea Valle
Many thanks Gabriel Convert to unicode right there, using read_text.decode("ascii"). You have unicode now. That's exactly what I was searching for. This new line: text = text.decode("ascii") solved my problem. Best -a- ------