unexpected token `;'

mmelchert mmelchert03 at yahoo.com
Tue Aug 25 13:24:37 CEST 2009

bbarbero at inescporto.pt wrote:

> Hello to all!
> I am struggling with a script in python for a while now, and decided
> to look for some help. I am running a code that takes commands from
> Marsyas(open source for Music analysis).
> #!/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
> #!/bin/bashimport math  <<==
> import re
> import numpy

have a close look at the <<== line: I think you wanted it to read
import math rather than #!/bin/bashimport math?

More information about the Python-list mailing list