file_ops¶
- janim.utils.file_ops.guarantee_existence(path: str) str¶
- janim.utils.file_ops.get_janim_dir() str¶
得到 janim 的路径
- janim.utils.file_ops.get_typst_temp_dir() str¶
- janim.utils.file_ops.readall(filepath: str) str¶
从文件中读取所有字符
- janim.utils.file_ops.find_file_in_path(path: str, file_path: str) str | None¶
- janim.utils.file_ops.find_file_in_asset_dir(prefix: str, file_path: str) str | None¶
- janim.utils.file_ops.find_file(file_path: str) str¶
- janim.utils.file_ops.open_file(file_path: str) None¶
打开指定的文件