annotate docs/pycon2010/pirate.py @ 421:fc63f0aad022

Additional support for native pbcopy for clipboard redirect (">") on MacOSX.
author Jason Ledbetter <jasonbrent@gmail.com
date Wed, 22 Jun 2011 21:56:20 -0400
parents 2ce34ad4e520
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()