sugar-toolkit-gtk3/examples/bots/bots.py
Marco Pesenti Gritti 028b15d3df Initial bots code... probably a crack idea but let's see if I can
get something useful out of it.
2006-06-20 03:19:33 -04:00

21 lines
347 B
Python

import os
import pygtk
pygtk.require('2.0')
import gtk
from sugar.bots import Bot
basedir = os.path.dirname(__file__)
bot = Bot("Chaitanya", os.path.join(basedir, "chaitanya.jpg"))
bot.start()
bot = Bot("Kiu", os.path.join(basedir, "kiu.jpg"))
bot.start()
bot = Bot("Penelope", os.path.join(basedir, "penelope.jpg"))
bot.start()
gtk.main()