treetool.py
def print_tree(options, tree):
    """Accepts either Tree or Tree_set as input. Prints all trees on stdout"""

    # Print tree on standard out
    if options.outformat.lower() == "nexus":
        print(tree.nexus())
    else:
        print(tree.newick())
Accepts either Tree or Tree_set as input. Prints all trees on stdout
Accepts either Tree or Tree_set as input. Prints all trees on stdout
Accepts either Tree or Tree_set as input . Prints all trees on stdout
def print_tree(options, tree):
    if options.outformat.lower() == "nexus":
        print(tree.nexus())
    else:
        print(tree.newick())
def print_tree ( options , tree ) : if options . outformat . lower ( ) == "nexus" : print ( tree . nexus ( ) ) else : print ( tree . newick ( ) )
Accepts either Tree or Tree_set as input.
Accepts either Tree or Tree_set as input .
"""Accepts either Tree or Tree_set as input. Prints all trees on stdout""" # Print tree on standard out
options
tree