zoukankan      html  css  js  c++  java
  • [学]《Python 核心编程》学习笔记(四)

    4. Python 对象

    4.1 Python 对象

      id()

      身份,类型,值

    4.2 标准类型

    4.3 其他类型

      None

      type()

    4.4 内部类型

      代码对象: 可被 exec / eval()调用的

      帧对象:  C 栈

      跟踪记录对象:   Traceback( ... )

      省略对象:  ...

      xRange 对象:  xrange()

    4.5 标准类型运算符

      a < b < c

    4.6 标准类型的内建函数

      cmp()  ->    __cmp__()

      type()

      str()

      repre()    :  obj == eval( (repr(obj) )

      isinstance()

      

    import types
    types.IntType

    4.7 类型工厂函数

      int ()        long()      float()

      complex()        str()                   anicode()

      basestring()             list()                  tuple()

      type()

      dict()                      bool()                 set()

      frozenset()              object()              classmethod()

      staticmethod()         super()               property()

      file()

    4.8 标准类型的分类

    4.9 不支持的类型

    4.10 练习

      

  • 相关阅读:
    vfs:结构体对象
    vfs:open.c 源码学习
    Linux direct io使用例子
    GPU安装小结
    tensorflow scope的作用
    tensorflow 一维卷积 tf.layers.conv1()使用
    tensorflow 的tf.where详解
    tensorflow 的tf.split函数的用法
    tensorflow 添加一个全连接层
    tensorflow 计算均值和方差
  • 原文地址:https://www.cnblogs.com/YBhello/p/5575846.html
Copyright © 2011-2022 走看看