diff --git a/samples/python2/.gitignore b/samples/python/.gitignore similarity index 100% rename from samples/python2/.gitignore rename to samples/python/.gitignore diff --git a/samples/python2/CMakeLists.txt b/samples/python/CMakeLists.txt similarity index 100% rename from samples/python2/CMakeLists.txt rename to samples/python/CMakeLists.txt diff --git a/samples/python2/_coverage.py b/samples/python/_coverage.py similarity index 100% rename from samples/python2/_coverage.py rename to samples/python/_coverage.py diff --git a/samples/python2/_doc.py b/samples/python/_doc.py similarity index 100% rename from samples/python2/_doc.py rename to samples/python/_doc.py diff --git a/samples/python2/asift.py b/samples/python/asift.py similarity index 100% rename from samples/python2/asift.py rename to samples/python/asift.py diff --git a/samples/python2/browse.py b/samples/python/browse.py similarity index 100% rename from samples/python2/browse.py rename to samples/python/browse.py diff --git a/samples/python2/calibrate.py b/samples/python/calibrate.py similarity index 100% rename from samples/python2/calibrate.py rename to samples/python/calibrate.py diff --git a/samples/python2/camshift.py b/samples/python/camshift.py similarity index 100% rename from samples/python2/camshift.py rename to samples/python/camshift.py diff --git a/samples/python2/coherence.py b/samples/python/coherence.py similarity index 100% rename from samples/python2/coherence.py rename to samples/python/coherence.py diff --git a/samples/python2/color_histogram.py b/samples/python/color_histogram.py similarity index 100% rename from samples/python2/color_histogram.py rename to samples/python/color_histogram.py diff --git a/samples/python2/common.py b/samples/python/common.py similarity index 100% rename from samples/python2/common.py rename to samples/python/common.py diff --git a/samples/python2/contours.py b/samples/python/contours.py similarity index 100% rename from samples/python2/contours.py rename to samples/python/contours.py diff --git a/samples/python2/deconvolution.py b/samples/python/deconvolution.py similarity index 100% rename from samples/python2/deconvolution.py rename to samples/python/deconvolution.py diff --git a/samples/python2/demo.py b/samples/python/demo.py similarity index 100% rename from samples/python2/demo.py rename to samples/python/demo.py diff --git a/samples/python2/dft.py b/samples/python/dft.py similarity index 100% rename from samples/python2/dft.py rename to samples/python/dft.py diff --git a/samples/python2/digits.py b/samples/python/digits.py similarity index 100% rename from samples/python2/digits.py rename to samples/python/digits.py diff --git a/samples/python2/digits_adjust.py b/samples/python/digits_adjust.py similarity index 100% rename from samples/python2/digits_adjust.py rename to samples/python/digits_adjust.py diff --git a/samples/python2/digits_video.py b/samples/python/digits_video.py similarity index 100% rename from samples/python2/digits_video.py rename to samples/python/digits_video.py diff --git a/samples/python2/distrans.py b/samples/python/distrans.py similarity index 100% rename from samples/python2/distrans.py rename to samples/python/distrans.py diff --git a/samples/python2/edge.py b/samples/python/edge.py similarity index 100% rename from samples/python2/edge.py rename to samples/python/edge.py diff --git a/samples/python2/facedetect.py b/samples/python/facedetect.py similarity index 100% rename from samples/python2/facedetect.py rename to samples/python/facedetect.py diff --git a/samples/python2/feature_homography.py b/samples/python/feature_homography.py similarity index 100% rename from samples/python2/feature_homography.py rename to samples/python/feature_homography.py diff --git a/samples/python2/find_obj.py b/samples/python/find_obj.py similarity index 100% rename from samples/python2/find_obj.py rename to samples/python/find_obj.py diff --git a/samples/python2/fitline.py b/samples/python/fitline.py similarity index 100% rename from samples/python2/fitline.py rename to samples/python/fitline.py diff --git a/samples/python2/floodfill.py b/samples/python/floodfill.py similarity index 100% rename from samples/python2/floodfill.py rename to samples/python/floodfill.py diff --git a/samples/python2/gabor_threads.py b/samples/python/gabor_threads.py similarity index 100% rename from samples/python2/gabor_threads.py rename to samples/python/gabor_threads.py diff --git a/samples/python2/gaussian_mix.py b/samples/python/gaussian_mix.py similarity index 100% rename from samples/python2/gaussian_mix.py rename to samples/python/gaussian_mix.py diff --git a/samples/python2/grabcut.py b/samples/python/grabcut.py similarity index 100% rename from samples/python2/grabcut.py rename to samples/python/grabcut.py diff --git a/samples/python2/hist.py b/samples/python/hist.py similarity index 100% rename from samples/python2/hist.py rename to samples/python/hist.py diff --git a/samples/python2/houghcircles.py b/samples/python/houghcircles.py similarity index 100% rename from samples/python2/houghcircles.py rename to samples/python/houghcircles.py diff --git a/samples/python2/houghlines.py b/samples/python/houghlines.py similarity index 100% rename from samples/python2/houghlines.py rename to samples/python/houghlines.py diff --git a/samples/python2/inpaint.py b/samples/python/inpaint.py similarity index 100% rename from samples/python2/inpaint.py rename to samples/python/inpaint.py diff --git a/samples/python2/kalman.py b/samples/python/kalman.py similarity index 100% rename from samples/python2/kalman.py rename to samples/python/kalman.py diff --git a/samples/python2/kmeans.py b/samples/python/kmeans.py similarity index 100% rename from samples/python2/kmeans.py rename to samples/python/kmeans.py diff --git a/samples/python2/lappyr.py b/samples/python/lappyr.py similarity index 100% rename from samples/python2/lappyr.py rename to samples/python/lappyr.py diff --git a/samples/python2/letter_recog.py b/samples/python/letter_recog.py similarity index 100% rename from samples/python2/letter_recog.py rename to samples/python/letter_recog.py diff --git a/samples/python2/lk_homography.py b/samples/python/lk_homography.py similarity index 100% rename from samples/python2/lk_homography.py rename to samples/python/lk_homography.py diff --git a/samples/python2/lk_track.py b/samples/python/lk_track.py similarity index 100% rename from samples/python2/lk_track.py rename to samples/python/lk_track.py diff --git a/samples/python2/logpolar.py b/samples/python/logpolar.py similarity index 100% rename from samples/python2/logpolar.py rename to samples/python/logpolar.py diff --git a/samples/python2/morphology.py b/samples/python/morphology.py similarity index 100% rename from samples/python2/morphology.py rename to samples/python/morphology.py diff --git a/samples/python2/mosse.py b/samples/python/mosse.py similarity index 100% rename from samples/python2/mosse.py rename to samples/python/mosse.py diff --git a/samples/python2/mouse_and_match.py b/samples/python/mouse_and_match.py similarity index 100% rename from samples/python2/mouse_and_match.py rename to samples/python/mouse_and_match.py diff --git a/samples/python2/mser.py b/samples/python/mser.py similarity index 100% rename from samples/python2/mser.py rename to samples/python/mser.py diff --git a/samples/python2/opencv_version.py b/samples/python/opencv_version.py similarity index 100% rename from samples/python2/opencv_version.py rename to samples/python/opencv_version.py diff --git a/samples/python2/opt_flow.py b/samples/python/opt_flow.py similarity index 100% rename from samples/python2/opt_flow.py rename to samples/python/opt_flow.py diff --git a/samples/python2/peopledetect.py b/samples/python/peopledetect.py similarity index 100% rename from samples/python2/peopledetect.py rename to samples/python/peopledetect.py diff --git a/samples/python2/plane_ar.py b/samples/python/plane_ar.py similarity index 100% rename from samples/python2/plane_ar.py rename to samples/python/plane_ar.py diff --git a/samples/python2/plane_tracker.py b/samples/python/plane_tracker.py similarity index 100% rename from samples/python2/plane_tracker.py rename to samples/python/plane_tracker.py diff --git a/samples/python2/squares.py b/samples/python/squares.py similarity index 100% rename from samples/python2/squares.py rename to samples/python/squares.py diff --git a/samples/python2/stereo_match.py b/samples/python/stereo_match.py similarity index 100% rename from samples/python2/stereo_match.py rename to samples/python/stereo_match.py diff --git a/samples/python2/texture_flow.py b/samples/python/texture_flow.py similarity index 100% rename from samples/python2/texture_flow.py rename to samples/python/texture_flow.py diff --git a/samples/python2/turing.py b/samples/python/turing.py similarity index 100% rename from samples/python2/turing.py rename to samples/python/turing.py diff --git a/samples/python2/video.py b/samples/python/video.py similarity index 100% rename from samples/python2/video.py rename to samples/python/video.py diff --git a/samples/python2/video_threaded.py b/samples/python/video_threaded.py similarity index 100% rename from samples/python2/video_threaded.py rename to samples/python/video_threaded.py diff --git a/samples/python2/video_v4l2.py b/samples/python/video_v4l2.py similarity index 100% rename from samples/python2/video_v4l2.py rename to samples/python/video_v4l2.py diff --git a/samples/python2/watershed.py b/samples/python/watershed.py similarity index 100% rename from samples/python2/watershed.py rename to samples/python/watershed.py