“Python/docs/3.9/faq/installed”的版本间差异

来自菜鸟教程
Python/docs/3.9/faq/installed
跳转至:导航、​搜索
(autoload)
 
(Page commit)
 
第1行: 第1行:
 +
{{DISPLAYTITLE:“为什么我的电脑上安装了 Python?” 常见问题 — Python 文档}}
 
<div id="why-is-python-installed-on-my-computer-faq" class="section">
 
<div id="why-is-python-installed-on-my-computer-faq" class="section">
  
= &quot;Why is Python Installed on my Computer?&quot; FAQ =
+
= “为什么我的电脑上安装了 Python?” 常问问题 =
  
 
<div id="what-is-python" class="section">
 
<div id="what-is-python" class="section">
  
== What is Python? ==
+
== 什么是 Python? ==
  
Python is a programming language. It's used for many different applications.
+
Python 是一种编程语言。 它用于许多不同的应用程序。 它被一些高中和大学用作入门编程语言,因为 Python 易于学习,但它也被谷歌、美国宇航局和卢卡斯电影有限公司等地的专业软件开发人员使用。
It's used in some high schools and colleges as an introductory programming
 
language because Python is easy to learn, but it's also used by professional
 
software developers at places such as Google, NASA, and Lucasfilm Ltd.
 
  
If you wish to learn more about Python, start with the [https://wiki.python.org/moin/BeginnersGuide Beginner's Guide to
+
如果您想了解有关 Python 的更多信息,请从 [https://wiki.python.org/moin/BeginnersGuide Python 初学者指南] 开始。
Python].
 
  
  
第19行: 第16行:
 
<div id="why-is-python-installed-on-my-machine" class="section">
 
<div id="why-is-python-installed-on-my-machine" class="section">
  
== Why is Python installed on my machine? ==
+
== 为什么我的机器上安装了 Python? ==
  
If you find Python installed on your system but don't remember installing it,
+
如果您发现系统上安装了 Python 但不记得安装它,则有几种可能的方法可以到达那里。
there are several possible ways it could have gotten there.
 
  
* Perhaps another user on the computer wanted to learn programming and installed it; you'll have to figure out who's been using the machine and might have installed it.
+
* 也许计算机上的另一个用户想学习编程并安装它; 你必须弄清楚谁在使用这台机器并且可能已经安装了它。
* A third-party application installed on the machine might have been written in Python and included a Python installation. There are many such applications, from GUI programs to network servers and administrative scripts.
+
* 安装在机器上的第三方应用程序可能是用 Python 编写的,并且包含 Python 安装。 有许多这样的应用程序,从 GUI 程序到网络服务器和管理脚本。
* Some Windows machines also have Python installed. At this writing we're aware of computers from Hewlett-Packard and Compaq that include Python. Apparently some of HP/Compaq's administrative tools are written in Python.
+
* 一些 Windows 机器也安装了 Python。 在撰写本文时,我们知道来自 Hewlett-Packard Compaq 的计算机包含 Python。 显然,HP/Compaq 的一些管理工具是用 Python 编写的。
* Many Unix-compatible operating systems, such as Mac OS X and some Linux distributions, have Python installed by default; it's included in the base installation.
+
* 许多 Unix 兼容的操作系统,例如 macOS 和一些 Linux 发行版,默认安装了 Python; 它包含在基本安装中。
  
  
第33行: 第29行:
 
<div id="can-i-delete-python" class="section">
 
<div id="can-i-delete-python" class="section">
  
== Can I delete Python? ==
+
== 我可以删除 Python 吗? ==
  
That depends on where Python came from.
+
这取决于 Python 的来源。
  
If someone installed it deliberately, you can remove it without hurting
+
如果有人故意安装它,您可以将其移除而不会伤害任何东西。 在 Windows 上,使用控制面板中的添加/删除程序图标。
anything. On Windows, use the Add/Remove Programs icon in the Control Panel.
 
  
If Python was installed by a third-party application, you can also remove it,
+
如果 Python 是由第三方应用程序安装的,您也可以将其删除,但该应用程序将不再工作。 您应该使用该应用程序的卸载程序,而不是直接删除 Python。
but that application will no longer work. You should use that application's
 
uninstaller rather than removing Python directly.
 
  
If Python came with your operating system, removing it is not recommended. If
+
如果您的操作系统附带 Python,则不建议将其删除。 如果你删除它,任何用 Python 编写的工具都将不再运行,其中一些工具可能对你很重要。 然后需要重新安装整个系统才能再次修复问题。
you remove it, whatever tools were written in Python will no longer run, and
 
some of them might be important to you. Reinstalling the whole system would
 
then be required to fix things again.
 
  
  
第53行: 第43行:
  
 
</div>
 
</div>
 +
<div class="clearer">
  
[[Category:Python 3.9 中文文档]]
+
 
 +
 
 +
</div>
 +
 
 +
[[Category:Python 3.9 文档]]

2021年10月31日 (日) 04:50的最新版本

“为什么我的电脑上安装了 Python?” 常问问题

什么是 Python?

Python 是一种编程语言。 它用于许多不同的应用程序。 它被一些高中和大学用作入门编程语言,因为 Python 易于学习,但它也被谷歌、美国宇航局和卢卡斯电影有限公司等地的专业软件开发人员使用。

如果您想了解有关 Python 的更多信息,请从 Python 初学者指南 开始。


为什么我的机器上安装了 Python?

如果您发现系统上安装了 Python 但不记得安装它,则有几种可能的方法可以到达那里。

  • 也许计算机上的另一个用户想学习编程并安装它; 你必须弄清楚谁在使用这台机器并且可能已经安装了它。
  • 安装在机器上的第三方应用程序可能是用 Python 编写的,并且包含 Python 安装。 有许多这样的应用程序,从 GUI 程序到网络服务器和管理脚本。
  • 一些 Windows 机器也安装了 Python。 在撰写本文时,我们知道来自 Hewlett-Packard 和 Compaq 的计算机包含 Python。 显然,HP/Compaq 的一些管理工具是用 Python 编写的。
  • 许多 Unix 兼容的操作系统,例如 macOS 和一些 Linux 发行版,默认安装了 Python; 它包含在基本安装中。


我可以删除 Python 吗?

这取决于 Python 的来源。

如果有人故意安装它,您可以将其移除而不会伤害任何东西。 在 Windows 上,使用控制面板中的添加/删除程序图标。

如果 Python 是由第三方应用程序安装的,您也可以将其删除,但该应用程序将不再工作。 您应该使用该应用程序的卸载程序,而不是直接删除 Python。

如果您的操作系统附带 Python,则不建议将其删除。 如果你删除它,任何用 Python 编写的工具都将不再运行,其中一些工具可能对你很重要。 然后需要重新安装整个系统才能再次修复问题。