Video editing with Python
parenthesis around prints for Py3 compatibility
Zulko7011d0932d6f
diff --git a/moviepy/video/tools/segmenting.py b/moviepy/video/tools/segmenting.pyindex 7fdc1ae2..15b9c76e 100644--- a/moviepy/video/tools/segmenting.py+++ b/moviepy/video/tools/segmenting.py@@ -44,7 +44,7 @@ def findObjects(clip,rem_thr=500, preview=False):if preview:import matplotlib.pyplot as plt- print "found %d objects"%(num_features)+ print( "found %d objects"%(num_features) )fig,ax = plt.subplots(2)ax[0].axis('off')ax[0].imshow(labelled)diff --git a/moviepy/video/tools/tracking.py b/moviepy/video/tools/tracking.pyindex edc90c9b..06f2593a 100644--- a/moviepy/video/tools/tracking.py+++ b/moviepy/video/tools/tracking.py@@ -17,7 +17,7 @@ try:except:# Note: this will be later fixed with scipy/skimage replacements# but for the moment OpenCV is mandatory, so...- print "WARNING: OpenCV not found: automated tracking not possible"+ print("WARNING: OpenCV not found: automated tracking not possible")