makros.translate_file#

makros.translate_file(path: Path)#

Parses a file and writes its output to disk at the same location with “.mpy” replaced with “.py”

from makros import translate_file

translate_file(Path('./my_file.mpy'))
Args:

path: The path to the file you want to parse