Functions | |
def | doRound |
Variables | |
tuple | decimal_places = int(sys.argv[3]) |
tuple | dom = etree.parse(io.BytesIO(xml)) |
tuple | elements = dom.xpath('//ns:translate',namespaces={'ns':namespace}) |
tuple | f = open(input_file,'r') |
list | input_file = sys.argv[1] |
string | namespace = 'http://www.collada.org/2008/03/COLLADASchema' |
list | output_file = sys.argv[2] |
tuple | xml = f.read() |
def round_collada_numbers.doRound | ( | values, | |
decimal_places | |||
) |
Definition at line 47 of file round_collada_numbers.py.
tuple round_collada_numbers::decimal_places = int(sys.argv[3]) |
Definition at line 69 of file round_collada_numbers.py.
tuple round_collada_numbers::dom = etree.parse(io.BytesIO(xml)) |
Definition at line 91 of file round_collada_numbers.py.
tuple round_collada_numbers::elements = dom.xpath('//ns:translate',namespaces={'ns':namespace}) |
Definition at line 94 of file round_collada_numbers.py.
tuple round_collada_numbers::f = open(input_file,'r') |
Definition at line 80 of file round_collada_numbers.py.
list round_collada_numbers::input_file = sys.argv[1] |
Definition at line 67 of file round_collada_numbers.py.
string round_collada_numbers::namespace = 'http://www.collada.org/2008/03/COLLADASchema' |
Definition at line 90 of file round_collada_numbers.py.
list round_collada_numbers::output_file = sys.argv[2] |
Definition at line 68 of file round_collada_numbers.py.
tuple round_collada_numbers::xml = f.read() |
Definition at line 81 of file round_collada_numbers.py.