Re: subtraction is giving me a syntax error

2010-03-15 Thread Baptiste Carvello
Joel Pendery a écrit : So I am trying to write a bit of code and a simple numerical subtraction y_diff = y_diff-H is giving me the error Syntaxerror: Non-ASCII character '\x96' in file on line 70, but no encoding declared. Even though I have deleted some lines before it and this line is no lo

Re: How to get a directory file descriptor?

2008-11-25 Thread Baptiste Carvello
Cong Ma a écrit : Dear all, Can you give me some hint on getting a directory file descriptor in Python? Besides, what's good about os.fchdir() if I can't get a directory fd in the first place? Thanks for your reply. Regards, Cong. -- http://mail.python.org/mailman/listinfo/python-list Hell

Re: matplotlib: howto redraw figure automatically, without stop in show()/draw()?

2007-05-07 Thread Baptiste Carvello
WEINHANDL Herbert a écrit : > dmitrey wrote: >> Hi all, >> here is a question already mentioned below, and I'm also interested in >> that one very much. >> unfortunatly, I can't write anything to matplotlib mailing lists >> because I constantly get server internal error (500) >> Does anyone knows t

Re: midipy.py on linux

2006-04-27 Thread Baptiste Carvello
Will Hurt a écrit : > Is there another module which does the same thing available for linux[ie > i can get raw midi data in as a list] and thats why no-ones bothered to > compile midipy under linux? > > Thanks > Will > I use http://www.mxm.dk/products/public/pythonmidi/ That's pure python, and