怎样才算是python入门

工作中用了python一段时间,原以为自己已经入门了,今天看google python style的时候,发现自己还对很多内置的函数不甚了解,真是惭愧,入门的标准,至少要满足这两条吧:

1. 掌握基本的语法,熟练使用python的内置类型和内置函数,能使用python的语法重新实现其它语言的简单功能。
2. 了解基本的数据结构,内置函数,了解一些基本的库的使用,能够对于简单的需求写出实现。偶尔使用多线程或者多进程,基本不用考虑性能问题。


google python style: http://google-styleguide.googlecode.com/svn/trunk/pyguide.html

python2 标准手册: http://docs.python.org/2/library/


python内置函数列表:

Built-in Functions    
abs() divmod() input() open() staticmethod()
all() enumerate() int() ord() str()
any() eval() isinstance() pow() sum()
basestring() execfile() issubclass() print() super()
bin() file() iter() property() tuple()
bool() filter() len() range() type()
bytearray() float() list() raw_input() unichr()
callable() format() locals() reduce() unicode()
chr() frozenset() long() reload() vars()
classmethod() getattr() map() repr() xrange()
cmp() globals() max() reversed() zip()
compile() hasattr() memoryview() round() __import__()
complex() hash() min() set() apply()
delattr() help() next() setattr() buffer()
dict() hex() object() slice() coerce()
dir() id() oct() sorted() intern()


  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值