Mac OS X 10.8上的python初学者 [英] beginner python on mac osx 10.8

查看:104
本文介绍了Mac OS X 10.8上的python初学者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习编程,并且一直在使用Ruby和ROR,但是我觉得我更喜欢Python的语言来学习编程.尽管我看到了Ruby和Rails的美丽,但我还是觉得我需要一种更易于学习的编程语言,因此需要Python.但是,我似乎找不到在Apple osx上可用的在线或离线社区.似乎大多数人是Python的PC人才.我喜欢Ruby的地方是有很多书籍,社区等,而且它们往往拥有大量的Mac资源.有人能够指出我的Google小组,论坛等内容,以供可能具有教程的Python初学者编程使用,或为在Mountain Lion上运行的人们提供帮助吗?我感到有些沮丧,并且陷入了Ruby Vs之间. Python范例,只希望某些Mac专用资源可与最新的Python以及最终的Django一起使用.

I'm learning programming and have been working with Ruby and ROR, but feel I like Python's language better for learning programming. Although I see the beauty of Ruby and Rails, I feel I need a language more easy to learn programming concepts, thus Python. However, I can't seem to find a community online or offline that work on Apple osx; mostly seems to be PC people for Python. What I like about Ruby is that there is a lot of books, communities, etc, and they tend to have a good amount of Mac resources. Would someone be able to point me to an google groups, forums, etc for beginner Python programming that may have tutorials, or help for people running on Mountain Lion? I'm feeling a little frustrated and caught between the Ruby Vs. Python paradigm, and just want some mac specific resources working with latest Python and eventually Django.

感谢您可能提供的帮助!

Thanks for any help you may be able to offer!

推荐答案

Mac OS X 10.8与/usr/bin/python处的Python 2.7.2捆绑在一起.通常,在Python世界中,您的操作系统是抽象的,因此不存在许多特定于OS的社区. Apple完全支持Python,但是您甚至可以使用Python编写完全本机的应用程序.

Mac OS X 10.8 comes bundled with Python 2.7.2 found at /usr/bin/python. Generally in the Python world your operating system is abstracted away, so there aren't that many OS-specific communities. Apple fully embraces Python, however, and you can even write fully native applications using Python.

我建议您入门:

  • 安装 homebrew -这是Mac OS X的开源软件包安装程序,受Debian的 apt-get 或RedHat的 yum .这将使您轻松安装许多系统级别的依赖项,例如数据库服务器,NoSQL服务器,系统库等.随着时间的流逝,您将不可避免地需要安装这些东西,因此最好是拥有合适的工具来完成这项工作!

  • Install homebrew - This is an open source package installer for Mac OS X, inspired by Debian's apt-get or RedHat's yum. This will allow you to easily install many of the system-level dependencies like database servers, NoSQL servers, system libraries, and so on. You will inevitably be required to install this stuff as time goes by, so it's best to have the right tool for the job!

安装 pip -Python软件包安装程序.你不会后悔的.这将使您可以轻松管理外部Python软件包.

Install pip - The Python package installer. You won't regret it. This will allow you to easily manage external Python packages.

查看官方Python教程.很好,但是还假设您至少对编程有基本的了解.

Check out the official Python tutorial. It's quite good, but also assumes you have at least basic understanding of programming.

查看学习Python的硬方法,这是Zed Shaw的免费电子书,它假定没有任何编程经验,并且假设非常非常容易遵循.

Check out Learn Python the Hard Way, a free e-Book by Zed Shaw, which assumes no prior programming experience and is very, very easy to follow.

这些应该让您忙一阵子!!

These should keep you busy for a while!!

这篇关于Mac OS X 10.8上的python初学者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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