Friday, October 28, 2011

"Shebang" lines in Haddock and Dunn 2010

I've noticed a few minor typos in Chapter 9 of Haddock and Dunn's Practical Computing for Biologists. As already noted on their errata, pg 151 has an extra space in the Shebang line.

The line appears as
#!/ usr/bin/env python

with a space between the "/" and "usr/"

It should be either
#! /usr/bin/env python

with a space between "!" and "/user"

or
#!/usr/bin/env python

With no spaces at all.

This is the first time I've had any problems with the code, making the book a breeze to work with.

No comments:

Post a Comment