log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
python-cmd2
annotate docs/pycon2010/pirate.py @ 337:
2ce34ad4e520
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
begin Pycon talk
author
catherine@Drou
date
Tue, 16 Feb 2010 11:02:56 -0500
parents
children
rev
line source
337
2ce34ad4e520
begin Pycon talk
catherine@Drou
parents:
diff
changeset
1
from cmd import Cmd
2ce34ad4e520
begin Pycon talk
catherine@Drou
parents:
diff
changeset
2
2ce34ad4e520
begin Pycon talk
catherine@Drou
parents:
diff
changeset
3
class Pirate(Cmd):
2ce34ad4e520
begin Pycon talk
catherine@Drou
parents:
diff
changeset
4
pass
2ce34ad4e520
begin Pycon talk
catherine@Drou
parents:
diff
changeset
5
2ce34ad4e520
begin Pycon talk
catherine@Drou
parents:
diff
changeset
6
pirate = Pirate()
2ce34ad4e520
begin Pycon talk
catherine@Drou
parents:
diff
changeset
7
pirate.cmdloop()