def log(self, s): """Write to stdout console. :param s: message to write :type s : str """ if nwchem.ga_nodeid() == 0: sys.stdout.write(s + "\n")
def say(self, s): """Write to stderr console. No implicit newline "\n". :param s: message to write :type s : str """ if nwchem.ga_nodeid() == 0: sys.stderr.write(s)
def log(s): """write to stdout console """ if nwchem.ga_nodeid() == 0: print(s)
def say(s): """write to stderr console no implicit newline "\n" """ if nwchem.ga_nodeid() == 0: sys.stderr.write(s)
def log(s): '''write to stdout console ''' if (nwchem.ga_nodeid() == 0): print(s)
def say(s): '''write to stderr console no implicit newline "\n" ''' if (nwchem.ga_nodeid() == 0): sys.stderr.write(s)