web application 基础

虚拟环境:

安装虚拟环境

 1.通过pip安装虚拟环境:
       -- pip install virtualenv
 2.前往目标文件夹创建纯净虚拟环境:
  -- virtualenv 虚拟环境名 (py3-env1)
 4.终端启动虚拟环境:
   -- cd py3-env1\Scripts
   -- activate
  mac 上 source bin/activate
 5.进入虚拟环境下的python开发环境
   -- python3
 6.关闭虚拟环境:
   -- deactivate
 7.PyCharm的开发配置
    添加:创建项目 -> Project Interpreter -> Existing interpreter -> Virtualenv Environment | System Interpreter -> 目标路径下的python.exe
    删除:Setting -> Project -> Project Interpreter -> Show All

http请求:

     应用层协议,基于tcp/ip,无状态,无连接,请求响应,

    请求方式:

    声明周期:

 

posted @ 2022-07-26 19:24  Orientation  阅读(60)  评论(0编辑  收藏  举报