--- a/samples/python/s005_3d_geometry.py
+++ b/samples/python/s005_3d_geometry.py
@@ -23,11 +23,6 @@
 #
 # -----------------------------------------------------------------------
 
-try:
-    from six.moves import range
-except ImportError:
-    # six 1.3.0
-    from six.moves import xrange as range
 import astra
 import numpy as np
 
--- a/samples/python/s016_plots.py
+++ b/samples/python/s016_plots.py
@@ -23,11 +23,6 @@
 #
 # -----------------------------------------------------------------------
 
-try:
-    from six.moves import range
-except ImportError:
-    # six 1.3.0
-    from six.moves import xrange as range
 import astra
 import numpy as np
 
