[英]Do I need to install Python if I already have the Anaconda distribution installed and want to use other text editors?
I am new to Python and programming in general and have been using Spyder IDE from the Anaconda distribution for the past few months on Windows 10. It has been really simple and easy to download and use, and I can run all of my code within the IDE, so it has easy for me to begin learning Python. I am new to Python and programming in general and have been using Spyder IDE from the Anaconda distribution for the past few months on Windows 10. It has been really simple and easy to download and use, and I can run all of my code within the IDE,所以我很容易开始学习 Python。
I have now become more interested in Python and learning to code and am looking to try other text editors like VS Code or Sublime Text.我现在对 Python 和学习编码变得更感兴趣,并希望尝试其他文本编辑器,如 VS Code 或 Sublime Text。 I was wondering, however, if I need to download and install python to be able to run my code in a terminal or will my current Anaconda install be fine to run the code?但是,我想知道,如果我需要下载并安装 python 才能在终端中运行我的代码,或者我当前的 Anaconda 安装是否可以运行代码?
If I do need to download Python, will there be any conflicts by having Anaconda installed?如果我确实需要下载 Python,安装 Anaconda 会不会有冲突?
Sorry if I've used the wrong terminology or it's not clear.抱歉,如果我使用了错误的术语或不清楚。
No, anaconda downloads the python interpreter/compiler as apart of the package.不,anaconda 下载 python 解释器/编译器作为 package 的一部分。 But if you want to check to make sure, check your python version in the command line (here's a walkthrough on how to do that: https://blog.finxter.com/how-to-check-your-python-version/ )但是,如果您想检查以确保,请在命令行中检查您的 python 版本(这是有关如何执行此操作的演练: https://blog.finxter.com/how-to-check-your-python-version/ )
Also, if u did have it downloaded and re-downloaded python again, there wouldn't be any adverse effects.此外,如果您确实下载并再次重新下载 python,则不会有任何不利影响。 At worst it overwrites your original python file (which isn't a big deal considering they contain the exact same thing) and at best you'll update your version of python.在最坏的情况下,它会覆盖您原来的 python 文件(考虑到它们包含完全相同的东西,这没什么大不了的),最好的情况是您将更新您的 python 版本。
I started with python too.我也从 python 开始。 It's a great language to start with, and its especially useful for learning list iteration and data manipulation.这是一门很棒的语言,它对于学习列表迭代和数据操作特别有用。 Codecademy( https://www.codecademy.com/learn ) have great online courses on python and python for data science and Im pretty sure its free. Codecademy( https://www.codecademy.com/learn )有关于 python 和 python 的优秀在线课程,用于数据科学,我很确定它是免费的。 I spent a summer using it and was able to become (relatively) proficient with the language.我花了一个夏天使用它,并且能够(相对)精通这门语言。 Pythons really conducive to teaching you the way you need think as a programmer and gives you a solid understanding of the basics of how a computer works, at least at the software level. Python 真的有利于教你作为程序员需要思考的方式,并让你对计算机工作原理的基础知识有深入的了解,至少在软件层面上是这样。
Finally.... for sure go with sublime, and stay away from IDE's as much as possible (learning how to compile/debug on your own really helps you understand the code your learning a lot better), unless you are trying to learn a new language like you were in your class.最后....肯定 go 具有崇高,并尽可能远离 IDE(学习如何自己编译/调试确实有助于您更好地理解您学习的代码),除非您正在尝试学习class 中的新语言。
oh, and one more thing.哦,还有一件事。 practice list iteration (for loops that cycle through the items in a list) relentlessly.坚持不懈地练习列表迭代(循环遍历列表中的项目)。 that's the quickest way I've found to get comfortable with python quickly (and its also one of pythons strongest features).这是我发现快速适应 python 的最快方法(它也是 python 最强大的功能之一)。 anytime you learn a new concept in python, try to write code that incorporates list iteration into whatever you learned.每当您在 python 中学习新概念时,请尝试编写将列表迭代合并到您所学内容中的代码。
Good Luck!祝你好运!
also (and sorry if im overwhelming you with info) I just found a webpage created by the head of the CS dept at my school buried in my universities website last night and was pissed I hadn't had it when I first started coding.另外(如果我的信息让你不知所措,很抱歉)我昨晚刚刚在我的大学网站中发现了一个由我学校的 CS 部门负责人创建的网页,我很生气当我第一次开始编码时没有它。 The prof created course notes and course hw/problems for every class he teaches at LMU (which is essentially every important CS class here) and they are all well made and easy to understand.教授为他在 LMU 教授的每一个 class(基本上是这里的每一个重要的 CS class)都创建了课程笔记和课程硬件/问题,它们都制作精良且易于理解。 He has everything from intro to CS to 600 level courses like AI and Secure software dev.他拥有从入门到 CS 到 600 级课程(如 AI 和安全软件开发)的所有内容。 The site's incredible and its made by the guy who essentially designed LMU's CS curriculum.该网站令人难以置信,它是由本质上设计 LMU 的 CS 课程的人制作的。
The answer for you will be No.你的答案将是不。
if you already had anaconda installed in your laptop, once you open it up you will realized you can install Python within the software.如果您的笔记本电脑中已经安装了 anaconda,一旦打开它,您会发现您可以在软件中安装 Python。
Anaconda will not only included Python, R also will be included. Anaconda 不仅包括 Python,R 也将包括在内。
Spider or Jupiter notebook can be used for edit your Python scripts. Spider 或 Jupiter notebook 可用于编辑您的 Python 脚本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.