<legend id='qPIWG'><style id='qPIWG'><dir id='qPIWG'><q id='qPIWG'></q></dir></style></legend>
<i id='qPIWG'><tr id='qPIWG'><dt id='qPIWG'><q id='qPIWG'><span id='qPIWG'><b id='qPIWG'><form id='qPIWG'><ins id='qPIWG'></ins><ul id='qPIWG'></ul><sub id='qPIWG'></sub></form><legend id='qPIWG'></legend><bdo id='qPIWG'><pre id='qPIWG'><center id='qPIWG'></center></pre></bdo></b><th id='qPIWG'></th></span></q></dt></tr></i><div id='qPIWG'><tfoot id='qPIWG'></tfoot><dl id='qPIWG'><fieldset id='qPIWG'></fieldset></dl></div>

    1. <small id='qPIWG'></small><noframes id='qPIWG'>

      <tfoot id='qPIWG'></tfoot>
        • <bdo id='qPIWG'></bdo><ul id='qPIWG'></ul>
      1. Windows的“路径"如何?环境变量工作?

        时间:2023-06-05
      2. <small id='WGxke'></small><noframes id='WGxke'>

        • <legend id='WGxke'><style id='WGxke'><dir id='WGxke'><q id='WGxke'></q></dir></style></legend>

                <bdo id='WGxke'></bdo><ul id='WGxke'></ul>
                  <tbody id='WGxke'></tbody>

                  <tfoot id='WGxke'></tfoot>
                1. <i id='WGxke'><tr id='WGxke'><dt id='WGxke'><q id='WGxke'><span id='WGxke'><b id='WGxke'><form id='WGxke'><ins id='WGxke'></ins><ul id='WGxke'></ul><sub id='WGxke'></sub></form><legend id='WGxke'></legend><bdo id='WGxke'><pre id='WGxke'><center id='WGxke'></center></pre></bdo></b><th id='WGxke'></th></span></q></dt></tr></i><div id='WGxke'><tfoot id='WGxke'></tfoot><dl id='WGxke'><fieldset id='WGxke'></fieldset></dl></div>
                  本文介绍了Windows的“路径"如何?环境变量工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  当这个问题突然出现时,我最近将 python 添加到了我的环境变量中.当我在命令提示符中键入python"时,Windows 似乎知道要运行哪个文件.但是,我将 python 添加到这个名为Path"的环境变量中,并且从未在任何地方指定python".

                  当我输入python"时,我不明白 Windows 如何知道我想要什么.有人可以帮忙解决这个问题吗?

                  I recently added python to my environment variables when this question popped into my head. When I type "python" into command prompt, windows seems to know which file to run. However, I added python into this environment variable called "Path", and never specified "python" anywhere.

                  I don't understand how windows knows what I want when I type "python". Could someone help clear this up?

                  推荐答案

                  PATH 是一个环境变量,保存与当前用户和操作系统相关的值.它指定可执行程序所在的目录.因此,当您键入 python 时,窗口会从 PATH 获取其可执行文件.因此,您无需在命令行中输入文件的完整路径.

                  PATH is an environment variable that holds values related to current user and operating system. It specifies the directories in which executable programs are located. so when you type python window gets its executable from PATH. hence, you won't need to type the whole path to the file on command line.

                  这篇关于Windows的“路径"如何?环境变量工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Pyinstaller:警告:找不到库 下一篇:创建 venv 时出错,错误:命令 '-Im'、'ensurepip'、'--u

                  相关文章

                  • <bdo id='C9o1E'></bdo><ul id='C9o1E'></ul>

                  <legend id='C9o1E'><style id='C9o1E'><dir id='C9o1E'><q id='C9o1E'></q></dir></style></legend>
                  <i id='C9o1E'><tr id='C9o1E'><dt id='C9o1E'><q id='C9o1E'><span id='C9o1E'><b id='C9o1E'><form id='C9o1E'><ins id='C9o1E'></ins><ul id='C9o1E'></ul><sub id='C9o1E'></sub></form><legend id='C9o1E'></legend><bdo id='C9o1E'><pre id='C9o1E'><center id='C9o1E'></center></pre></bdo></b><th id='C9o1E'></th></span></q></dt></tr></i><div id='C9o1E'><tfoot id='C9o1E'></tfoot><dl id='C9o1E'><fieldset id='C9o1E'></fieldset></dl></div>
                  <tfoot id='C9o1E'></tfoot>

                      <small id='C9o1E'></small><noframes id='C9o1E'>