For gstreamer there is an order. You import pygst first so that you can check if the user has the correct version of gstreamer instealled with pygst.require(). This line will fail if the user does not have 0.10 version of gstreamer installed then attempt to import gstreamer via "import gst" assuming the check didn't fail.