Improve Python 2 compatability with "future" print_function.

Use python3 version of the print function when running
under python2. Also added "from __future__ import division"
to a few more module files.
This commit is contained in:
Matvey Adzhigirey
2012-12-11 16:27:52 -08:00
committed by Mike Beachy
parent 4e7427769e
commit 2079259884
20 changed files with 56 additions and 0 deletions

View File

@@ -3,6 +3,8 @@
#
from __future__ import division
from __future__ import print_function
import Source.ligand, Source.determinant, Source.ligand_pka_values, math, Source.protonate
my_protonator = Source.protonate.Protonate(verbose=False)