# pythonstudy3 **Repository Path**: xvlie/pythonstudy3 ## Basic Information - **Project Name**: pythonstudy3 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-12 - **Last Updated**: 2025-02-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 如何创建虚拟目录 D:\pythonStudy\pythonstudy3> python -m venv . 当前目录创建虚拟环境 D:\pythonStudy\pythonstudy3> ./scripts/activate 激活虚拟环境 ### 如何下载第三方包并进行本地安装 pip download requests -d ./down_packages -i https://pypi.tuna.tsinghua.edu.cn/simpl 下载第三方包requests 有的时候清华镜像不行,用阿里镜像 https://mirrors.aliyun.com/pypi/simple/ 包括依赖 到 down_packages 目录下 但不安装 pip install ./down_packages/requests-2.32.3-py3-none-any.whl --no-index --find-links=./down_packages 从down_packages 目录下安装指定whl 包含所有依赖 ### 删除第三方包 pip uninstall requests ### 如何把pythonstudy3 同步到 gitee 上 已在gitee 上创建仓库 https://gitee.com/xvlie/pythonstudy3.git git init 初始化 git remote -v 查看 gitee 关联到地址 git remote add origin https://gitee.com/xvlie/pythonstudy3.git 关联到地址 git add . 添加文件 git commit -m "你的提交信息" 提交更改 git push -u origin main 推送到远程仓库 创建.gitignore 文件 忽略 指定文件夹 不要进行git