Prerequisites:
- Install Python. In this example using Python 2.7.13
- Install PythonGTK.
Tutorial
1. Open Command Prompt.2. Running your Python interactive console / Python interpreter / Python shell by typing python.
3. Typing :
import pygtk
import pygtk
import gtk
print(gtk.pygtk_version)
print(gtk.gtk_version)
4. Then for print(gtk.pygtk_version) you get output similar to this :
(2, 24, 0)
5. Then for print(gtk.gtk_version) you get output similar to this :
(2, 24, 10)
<< back to Study About Python
Tidak ada komentar:
Posting Komentar