newbe question about removing items from one file to another file

Anthra Norell anthra.norell at tiscalinet.ch
Tue Sep 5 18:24:07 CEST 2006


You don't need the setup command. Just place SE.py and SEL.py into a path where the import can find it. Also make sure SE.py and
SEL.py are spelled exactly like this. Linux requires the extension to be lower case, as I was myself made aware of by an alert
person who was also experiencing import problems. I must confess that my fist uploads were upper case (SE.PY). I instantaneously
replaced the upload with corrected spelling and apologize for the trouble the mistake may be causing. Fortunately correcting it is a
small matter.
      Have you tried to run the function at all? It produces the same result. Made case-insensitive (if need be) I'd prefer the
function. It is more economical, since it doesn't require an extra import. It surely runs faster too (if that matters).

Frederic

----- Original Message -----
From: <Eric_Dexter at msn.com>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Monday, September 04, 2006 10:52 PM
Subject: Re: newbe question about removing items from one file to another file


> I am have to be able to distribute se with the project in order to use
> it
> I started with import se but I did not use the setup command
> when I comment out import se the program works and when
> I use import se everything connected to the library crashes on the
> import line..
>
>
>
>
> Anthra Norell wrote:
> > ----- 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
>
> --
> http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list