From 04cdcb0feb369ac4c60e10ccdc139c57e8b52e62 Mon Sep 17 00:00:00 2001 From: Zearin Date: Fri, 7 Oct 2011 10:34:23 -0400 Subject: Removed leftovers from installing with pip. Oops! I noticed there was a bunch of extra crap left over from when I installed this module onto my own system. I thought it wouldn't have modified itself at the time (just the Python module library on my system), but I was wrong. Begone, useless cruft! --- doxygen/html/pirate4_8py_source.html | 155 ----------------------------------- 1 file changed, 155 deletions(-) delete mode 100644 doxygen/html/pirate4_8py_source.html (limited to 'doxygen/html/pirate4_8py_source.html') diff --git a/doxygen/html/pirate4_8py_source.html b/doxygen/html/pirate4_8py_source.html deleted file mode 100644 index a6bc071..0000000 --- a/doxygen/html/pirate4_8py_source.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - -Cmd2: /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py Source File - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
-
-
pirate4.py
-
-
-Go to the documentation of this file.
00001 from cmd import Cmd
-00002 # using arguments
-00003 
-00004 class Pirate(Cmd):
-00005     gold = 3
-00006     def do_loot(self, arg):
-00007         'Seize booty from a passing ship.'
-00008         self.gold += 1
-00009     def do_drink(self, arg):
-00010         '''Drown your sorrrows in rrrum.
-00011         
-00012         drink [n] - drink [n] barrel[s] o' rum.'''  
-00013         try:
-00014             self.gold -= int(arg)
-00015         except:
-00016             if arg:
-00017                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-00018             self.gold -= 1            
-00019     def precmd(self, line):
-00020         self.initial_gold = self.gold
-00021         return line
-00022     def postcmd(self, stop, line):   
-00023         if self.gold != self.initial_gold:
-00024             print('Now we gots {0} doubloons'.format(self.gold))
-00025 
-00026 pirate = Pirate()
-00027 pirate.cmdloop()
-
-
- - - - - -- cgit v1.2.1