Compatibility with both Python 2(.7) and 3
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
python higgs-numpy.py
|
||||
python higgs-pred.py
|
||||
python -u higgs-numpy.py
|
||||
ret=$?
|
||||
if [[ $ret != 0 ]]; then
|
||||
echo "ERROR in higgs-numpy.py"
|
||||
exit $ret
|
||||
fi
|
||||
python -u higgs-pred.py
|
||||
ret=$?
|
||||
if [[ $ret != 0 ]]; then
|
||||
echo "ERROR in higgs-pred.py"
|
||||
exit $ret
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user