unexpected token `;'

Diez B. Roggisch deets at nospam.web.de
Tue Aug 25 07:25:04 EDT 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

This is bogus. Replace it with

  #!/usr/bin/python

and put the "import math" on the next line.

Diez



More information about the Python-list mailing list