weldx.asdf.util.notebook_fileprinter#
- weldx.asdf.util.notebook_fileprinter(file, lexer='YAML')#
Print the code from file/BytesIO to notebook cell with syntax highlighting.
- Parameters
file (
Union[str,Path,IOBase,SupportsFileReadOnly,SupportsFileReadWrite]) – filename or file-like object pointing towards / containing an ASDF file.lexer – Syntax style to use