openpyxl.utils.escape module
OOXML has non-standard escaping for characters <
-
openpyxl.utils.escape.escape(value)[源代码]
Convert ASCII < 31 to OOXML: n == _x + hex(ord(n)) + _
-
openpyxl.utils.escape.unescape(value)[源代码]
Convert escaped strings to ASCIII: _x000a_ == n