view docs/pycon2010/pirate.py @ 376:32b9137577b8

avoiding 'str doesn't support the buffer api' exception
author cat@eee
date Sun, 21 Feb 2010 15:25:22 -0500
parents 2ce34ad4e520
children
line wrap: on
line source

from cmd import Cmd

class Pirate(Cmd):
    pass

pirate = Pirate()
pirate.cmdloop()