[Tutor] how to read a program
ive been using diveintopython to learn how to write programs but i want to sink my teeth into reading some bigger programs, to study them and maybe pick up something new, especially from programs where the development isn't well document (unlike something like pidgin's development documentation which is insanely detailed). are there any specific pieces of software written in python you would recommend a novice to read? programs that illustrate python at its finest, beautiful stretches of code? thanks for any help anthony ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] how to read a program
that sounds like good advice, but i think what i meant is something along the lines of: "what are particularly great programs to *read*. not like great software, but great source code. somewhat like treating source code as a literature, what are the classics? On Fri, Jun 6, 2008 at 7:16 PM, Alan Gauld <[EMAIL PROTECTED]> wrote: > > "Anthony Parks" <[EMAIL PROTECTED]> wrote > > which is insanely detailed). are there any specific pieces of software >> written in python you would recommend a novice to read? programs that >> illustrate python at its finest, beautiful stretches of code? thanks for >> any >> help >> > > You could start with the Python standard library. Many of the modules > there are fairly sparecly documented, partly because they are quite > well written! > > Then look at the tools that ship with Python. > > Then just search SourceForge for python projects. > > Alan G > > ___ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] handling MIDI in python
regarding conversion between wav and midi, ive looked into it. like the following article says, you can't. http://www.hitsquad.com/smm/news/9903_101/ i mean, it is possible, but wav and midi are fundamentally different things. midi files contain commands that play sounds based on software synthesizers or synthesizers controlled by external devices, while wav files play recordings. a midi file doesn't have any sound in it, just commands. now its possible to analyze a recording and break it down into a composition of different notes that could generate a midi file, but this is insane and kudos to the few developers who have been able to design such software. On Sun, Jun 8, 2008 at 1:40 PM, amit sethi <[EMAIL PROTECTED]> wrote: > > Can someone tell me about the libraries that can handle MIDI files and also > is their a way in which I can convert an mp3 and wav file into a Midi file > within a python program > > -- > A-M-I-T S|S > ___ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > > ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor