I am developing apps in Quickly. Default codes start with from gi.repository import Gtk
. Why is it so and not simply import gtk
for example?
The point is, a lot of tutorials, documentation and forums answers on the web are based on the second importation, as far as I have seen.
Best Answer
from gi.repository import Gtk
uses the new PyGObject instead of the older PyGTK that is used withimport gtk
.