为什么有两个叫“Python”?和“Python 启动器”分别?
我使用的是 Mac 操作系统。为什么其中两个是“Python”,而上面的另一个是“Python launcher”。
图片 - (file:///Users/Buddhikawijegunarathna/Desktop/Screenshot%202022-03-28%20at%203.22.27%20PM.png)
有什么区别?
“Python启动器”位于Applications/python 3.10/Python启动器中 (我当前使用的 python 版本是 3.11)
“python”位于 Macintosh HD/library/frameworks/python.frameworks/resources/python
应用程序中,
我无法运行使用模块的 python 文件“Python 启动器”,但可以使用“Python”应用程序。
我可以使用“Python启动器”从任何地方运行python文件,可能是桌面或文件夹或任何东西,但在“Python”应用程序中,它要么在桌面或特定位置运行,而严格不在文件夹内运行。 (如果我运行,它会显示错误,因为找不到目录。)
I am on a Mac OS. Why are there two of them "Python" and the other one on top is 'Python launcher’.
image - (file:///Users/Buddhikawijegunarathna/Desktop/Screenshot%202022-03-28%20at%203.22.27%20PM.png)
What is the difference?
"Python launcher" is in Applications/python 3.10/Python launcher
(the current version I use of python is 3.11)
"python" is in the Macintosh HD/library/frameworks/python.frameworks/resources/python
app
I can't run python files that use modules using 'Python launcher' but can using the ‘Python' app.
And I can run a python file from anywhere, maybe desktop or in a folder or anything by using 'Python launcher’, but in ‘Python' app it either works in the desktop or a specific place, and strictly not inside folders. (if I run, it's displaying an error as the directory cannot be found.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Python
是一种计算机语言,也意味着整个Python系统的整体;而
Python Launcher
是一个可执行文件,它启动Python编译器&使用Python时功能。Python
is a computer language, also means an overall of the whole Python system;While
Python Launcher
is an executable file which launches Python compiler & functions when you use Python.