Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用Ruby on Rails开发了一些项目,现在想快速学习Python,有什么好的方法吗?
我想知道一些好的网站,好的样本,好的做法。
比如Python如何连接MongoDB等。
python 上最好的资源是 docs.python.org,它有 CPython 参考,除了它主要是学习语法,这与 ruby 有点不同,但很容易掌握。任何在线教程都应该为您提供语法示例。如果您有具体问题,请在此处提问。一个提示,如果你在没有参数的情况下启动 python,你会得到 repl,它可以让你交互式地探索模块和对象。从那里开始,help、vars 和 dir 是查看事物如何工作的三个最有用的函数。