day09 study notes - python installation and operation of environment variables

Install:

  python is installed on os ,

    Take action:

      Write a file according to the rules of python, hand the file to python software, read the daily use in the file, then convert and execute, and finally get the result.

    python software==>python interpreter (memory management)

              download:

      python3 (backward compatible): continue to update

      python2 : continuing to update (transition to python3)

             Installed path:

    Put it in the root directory of the CD disk, so that the later installation modules can be quickly found and reduce the installation path and level.

    Windows: python3 (installation omitted)

       Environment variable: Add the installation directory to the environment variable, if not, you must enter the installation directory for each call

            With environment variables:

              ? (I didn't understand the video)

    Linux: If the original python2, you can directly download python3 without uninstalling or the so-called upgrade

 

execution way:

cmd environment execution

shell environment execution

The lecture video is edited in Notepad++, then run

The lecture video is explained in the python3 environment

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325573367&siteId=291194637