# unix2dos **Repository Path**: Geng233/unix2dos ## Basic Information - **Project Name**: unix2dos - **Description**: unix换行与dos换行的互转,可以修复pickel的加载错误问题 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-01-30 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # unix2dos unix换行与dos换行的互转,可以修复pickel的加载错误问题 ## 使用方法 直接调用`uni_format_proc`函数,第一个参数是要转换的文件路径,第二个参数是转换模式(`dos2unix`/`unix2dos`) 例子: ``` python import unix2dos unix2dos.uni_format_proc('E:/pyproject/MCCV/neural_body_fitting-master/helper_data/joint_offsets.pkl','dos2unix') ```