# autnpy **Repository Path**: opslab/autnpy ## Basic Information - **Project Name**: autnpy - **Description**: 封装常用的操作,方便开发使用 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-25 - **Last Updated**: 2023-12-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 封装常用的操作,方便开发使用 ## 安装方法 ``` python setup.py install python setup.py clean --all 当然最好的办法是(以开发模式安装,可以随时改、随时生效) pip install -e . pip uninstall . ``` ## 使用方法 ```python from autn.Autn import Autn print(Autn.base_path()) print(Autn.trim_path("c:\\files\\\\file2//files")) print(Autn.base_path("c:\\files\\\\file2//files")) print(Autn.base_path("/str/test.txt")) ```