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

@@ -1,5 +1,8 @@
#!/usr/bin/env python
from __future__ import division
from __future__ import print_function
import Source.molecular_container, Source.calculations, Source.calculations, Source.parameters, Source.pdb, Source.lib, os, subprocess, sys
class ligand_pka_values: