[Biopython-dev] [Bug 2269] Shebang (hashbang) lines need cleanup

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Mon Jun 4 14:19:47 UTC 2007


http://bugzilla.open-bio.org/show_bug.cgi?id=2269





------- Comment #3 from mdehoon at ims.u-tokyo.ac.jp  2007-06-04 10:19 EST -------
> From looking at the code, some of the files ARE intended to be run as a script
> - they do a "__main__" check to detect this and then do something based on the
> command line arguments.

If we remove the shebangs, users can still do

python script.py

if they want to run script.py as a script.

With the shebangs, users can do

./script.py

instead. But IMHO, for Biopython scripts the advantage is minimal, and won't
work on Windows.

Well let's wait a few days to see if somebody steps forward who really needs
the shebangs.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list