Welcome! Are you completely new to programming? If not then we presume you will be looking for information about why and how to get started with Python. Fortunately an experienced programmer in any programming language (whatever it may be) can pick up Python very quickly. It's also easy for beginners to use and learn, so jump in!
欢迎!你是完全的编程新手吗?如果不是,那么我们假定你正在寻找关于为何以及如何开始学习 Python 的信息。幸运的是,任何编程语言(无论是什么语言)的有经验的程序员都可以非常快速地掌握 Python。它对于初学者来说也很容易使用和学习,所以赶紧加入吧!
Installing
Installing Python is generally easy, and nowadays many Linux and UNIX distributions include a recent Python. Even some Windows computers (notably those from HP) now come with Python already installed. If you do need to install Python and aren't confident about the task you can find a few notes on the BeginnersGuide/Download wiki page, but installation is unremarkable on most platforms.
**安装**
安装 Python 通常很容易,如今许多 Linux 和 UNIX 发行版都包含了较新的 Python。甚至一些 Windows 电脑(特别是惠普的那些)现在也已经预装了 Python。如果你确实需要安装 Python 并且对这项任务没有信心,你可以在“初学者指南/下载”维基页面上找到一些说明,但在大多数平台上安装都很平常。
Learning
Before getting started, you may want to find out which IDEs and text editors are tailored to make Python editing easy, browse the list of introductory books, or look at code samples that you might find helpful.
There is a list of tutorials suitable for experienced programmers on the BeginnersGuide/Tutorials page. There is also a list of resources in other languages which might be useful if English is not your first language.
The online documentation is your first port of call for definitive information. There is a fairly brief tutorialthat gives you basic information about the language and gets you started. You can follow this by looking at the library reference for a full description of Python's many libraries and the language reference for a complete (though somewhat dry) explanation of Python's syntax. If you are looking for common Python recipes and patterns, you can browse the ActiveState Python Cookbook
**学习**
在开始之前,你可能想了解哪些集成开发环境(IDEs)和文本编辑器是为了使 Python 编辑更容易而定制的,浏览入门书籍列表,或者查看可能对你有帮助的代码示例。
在“初学者指南/教程”页面上有一个适合有经验程序员的教程列表。还有一个其他语言的资源列表,如果英语不是你的第一语言,这个列表可能会很有用。
在线文档是你获取权威信息的首选。有一个相当简短的教程,它为你提供关于该语言的基本信息并让你入门。接着,你可以查看库参考以获得对 Python 众多库的完整描述,以及语言参考以获得对 Python 语法的完整(尽管有点枯燥)解释。如果你正在寻找常见的 Python 配方和模式,你可以浏览 ActiveState Python 烹饪书。
Looking for Something Specific?
If you want to know whether a particular application, or a library with particular functionality, is available in Python there are a number of possible sources of information. The Python web site provides a Python Package Index (also known as the Cheese Shop, a reference to the Monty Python script of that name). There is also a search page for a number of sources of Python-related information. Failing that, justGoogle for a phrase including the word ''python'' and you may well get the result you need. If all else fails, ask on the python newsgroup and there's a good chance someone will put you on the right track.
**寻找特定的东西?**
如果你想知道某个特定的应用程序,或者具有特定功能的库是否在 Python 中可用,有许多可能的信息来源。Python 网站提供了一个 Python 包索引(也称为奶酪店,这是对同名的巨蟒剧团剧本的引用)。还有一个搜索页面,可以搜索许多与 Python 相关的信息来源。如果这些都不行,只需在谷歌上搜索一个包含“python”这个词的短语,你很可能会得到你需要的结果。如果其他方法都失败了,就在 Python 新闻组上提问,很有可能有人会给你指明正确的方向。
Frequently Asked Questions
If you have a question, it's a good idea to try the FAQ, which answers the most commonly asked questions about Python.
**常见问题解答**
如果你有问题,尝试常见问题解答(FAQ)是个好主意,它回答了关于 Python 最常被问到的问题。
Looking to Help?
If you want to help to develop Python, take a look at the developer area for further information. Please note that you don't have to be an expert programmer to help. The documentation is just as important as the compiler, and still needs plenty of work!
**想要帮忙吗?**
如果你想帮助开发 Python,看看开发人员区域以获取更多信息。请注意,你不必是一个专家程序员才能提供帮助。文档和编译器一样重要,并且仍然需要大量的工作!