route_distances/distances.py
def log(self, string):
        """ Prints a string if verbose mode is enabled

        Args:
            string: A string to be printed if self.verbose is True.
        """

        if (self.verbose):
            print("%s %s" % (datetime.datetime.now().isoformat(), string))
 Prints a string if verbose mode is enabled

        Args:
            string: A string to be printed if self.verbose is True.
        
Prints a string if verbose mode is enabled
Prints a string if verbose mode is enabled
def log(self, string):
        if (self.verbose):
            print("%s %s" % (datetime.datetime.now().isoformat(), string))
def log ( self , string ) : if ( self . verbose ) : print ( "%s %s" % ( datetime . datetime . now ( ) . isoformat ( ) , string ) )
Prints a string if verbose mode is enabled
Prints a string if verbose mode is enabled
""" Prints a string if verbose mode is enabled

        Args:
            string: A string to be printed if self.verbose is True.
        """
self
string
A string to be printed if self.verbose is True.
A string to be printed if self . verbose is True .