# my-scripts **Repository Path**: liusen_n/my-scripts ## Basic Information - **Project Name**: my-scripts - **Description**: 常用脚本.......... - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-09-14 - **Last Updated**: 2022-12-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 前置要求 - **poetry** ``` curl -sSL https://install.python-poetry.org | python3 - 或 wget https://github.com/python-poetry/poetry/releases/download/1.2.2/poetry-1.2.2-py3-none-any.whl \ && pip install poetry-1.2.2-py3-none-any.whl ``` ### 使用 为了确保依赖正确,需要运行 `poetry shell` 开启虚拟环境,再运行 `pip install -e .` 解决导入本地模块问题,最后按需运行以下命令 1. 运行单个工具脚本 ``` python3 ``` 2. 打包脚本,生成可分发的独立脚本 ``` python3 src/lang/python.py ``` ### TODO - [ ] 简化使用脚本的方式