intficpy/ifp_game.py
def recordOn(self, f):
        """
        Try opening the specified file for recording,
        creating it if it doesn't exist.
        """
        try:
            recfile = open(f, "w+")
            recfile.close()
            self.recfile = f
            return True
        except:
            return False

        Try opening the specified file for recording,
        creating it if it doesn't exist.
        
Try opening the specified file for recording,
creating it if it doesn't exist.
Try opening the specified file for recording creating it if it doesn ' t exist .
def recordOn(self, f):
        try:
            recfile = open(f, "w+")
            recfile.close()
            self.recfile = f
            return True
        except:
            return False
def recordOn ( self , f ) : try : recfile = open ( f , "w+" ) recfile . close ( ) self . recfile = f return True except : return False
Try opening the specified file for recording,
creating it if it doesn't exist.
Try opening the specified file for recording creating it if it doesn ' t exist .
"""
        Try opening the specified file for recording,
        creating it if it doesn't exist.
        """
self
f