newbe question about removing items from one file to another file

Anthra Norell anthra.norell at tiscalinet.ch
Mon Sep 4 15:28:40 EDT 2006


----- Original Message -----
From: <Eric_Dexter at msn.com>
Newsgroups: comp.lang.python
To: <python-list at python.org>
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's a function that screens out all instrument blocks and puts them into a dictionary keyed on the instrument number:
> >
> > --------------------------------------------
> >
> > def get_instruments (file_name):

etc.

> > > <CsOptions>
> > > >   -W -d -o tone.wav
> > > > </CsOptions>
> > > >
> > ...
> > etc.
>
> I cut and pasted this..  It seems to be crashing my program.. I am not
> sure that I have all the right imports..  seems to be fine when I go to
> an older version of the file...  I uploaded it onto source forge.
>
> https://sourceforge.net/project/showfiles.php?group_id=156455&package_id=201306&release_id=444362
> http://www.dexrow.com
>

Eric (Eric or Dexer?)
      This thread seems to have split. So let me reiterate: please copy the output when you cut, paste and run. If you have an
import problem it must be on the other side of your interface with SE, because I don't import anything and SE imports what it needs.

Frederic





More information about the Python-list mailing list