解释了 PATH 的重要性 [英] Significance of a PATH explained

查看:65
本文介绍了解释了 PATH 的重要性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个基本的问题,但我对编程还是有点陌生​​,我已经想了一段时间了.我已经用 Python、C# 和 Java 完成了多个项目,当我尝试使用新库(尤其是 Python)时,人们总是说要确保它在正确的 PATH 中等等.我刚刚学习了一个关于如何在新计算机上安装 Java 的在线教程,它重新引发了我关于路径到底是什么的问题.Path 只是编程语言在文件系统中寻找库吗?我有点困惑它的意义是什么.再次,我很抱歉问了这么宽泛的问题,它只是我自己编程时从未完全了解的问题.

This is probably a rudimentary question but I am still kinda new to programming and I've wondered for awhile. I've done multiple projects in Python, C#, and Java, and when I try to use new libraries (especially for Python) people always say to make sure its in the right PATH and such. I just followed an online tutorial on how to install Java on a new computer and it rekindled my question of what a path really is. Is the Path just were the programming language looks for a library in the file system? I get kinda confused on what it's significance is. Again, I'm sorry for the wide question, its just something that I've never quite gotten on my own programming.

我只是想非常感谢大家回答我的问题.我知道这是一个非常愚蠢的现在我终于弄清楚它是什么,但它确实帮助了我.我正在慢慢学习我可以在网上找到的尽可能多的 C#、Java 和 Python 教程,很高兴知道我有地方可以提问:)

I just wanted to thank everyone so much for answering my question. I know it was a pretty dumb one now that I've finally figured out what it is, but it really helped me. I'm slowly working through as many C#, Java and Python tutorials as I can find online, and it's nice to know I have somewhere to ask questions :)

推荐答案

PATH 是计算机上的文件目录.如果您需要安装一种编程语言,您可能需要将它放在您的系统 PATH 变量中.这意味着系统会在这些文件中查找不同的信息,即您正在使用的代码库所在的 IE.
希望有所帮助!

A PATH is a file directory on your computer. If you need to install a programming language, you might need to put it in your system PATH variable. This means that the system looks to these files for different information, IE where the libraries for the code you are using are.
Hope that helped!

这篇关于解释了 PATH 的重要性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆