摘要: Help on module pyclbr: NAME pyclbr - Parse a Python module and describe its classes and methods. FILE d:\programdata\anaconda2\lib\pyclbr.py DESCRIPTI 阅读全文
posted @ 2018-04-12 16:55 champernain 阅读(127) 评论(0) 推荐(0)
摘要: Help on class timedelta in module datetime: class timedelta(__builtin__.object) | Difference between two datetime values. | | Methods defined here: | 阅读全文
posted @ 2018-04-12 16:35 champernain 阅读(121) 评论(0) 推荐(0)
摘要: Help on function meshgrid in module numpy.lib.function_base: meshgrid(*xi, **kwargs) Return coordinate matrices from coordinate vectors. Make N-D coor 阅读全文
posted @ 2018-04-12 15:35 champernain 阅读(184) 评论(0) 推荐(0)
摘要: Help on module matplotlib.cm in matplotlib: NAME matplotlib.cm FILE d:\programdata\anaconda2\lib\site-packages\matplotlib\cm.py DESCRIPTION This modul 阅读全文
posted @ 2018-04-12 15:33 champernain 阅读(1367) 评论(0) 推荐(0)
摘要: Help on built-in module datetime: NAME datetime - Fast implementation of the datetime type. FILE (built-in) CLASSES __builtin__.object date datetime t 阅读全文
posted @ 2018-04-12 15:26 champernain 阅读(278) 评论(0) 推荐(0)
摘要: """ dir([object]) -> list of strings If called without an argument, return the names in the current scope. Else, return an alphabetized list of names 阅读全文
posted @ 2018-04-12 14:19 champernain 阅读(154) 评论(0) 推荐(0)
摘要: """ Return object with labels on given axis omitted where alternately any or all of the data are missing Parameters axis : {0 or 'index', 1 or 'column 阅读全文
posted @ 2018-04-12 14:00 champernain 阅读(6966) 评论(1) 推荐(0)
摘要: progressbar安装: [python] view plain copy pip install progressbar [python] view plain copy [python] view plain copy 用法一 [python] view plain copy # -*- c 阅读全文
posted @ 2018-04-12 10:31 champernain 阅读(13231) 评论(0) 推荐(1)
摘要: Python下一切皆对象,每个对象都有多个属性(attribute),Python对属性有一套统一的管理方案。 __dict__与dir()的区别: ​ 并不是所有对象都拥有__dict__属性。许多内建类型就没有__dict__属性,如list,此时就需要用dir()来列出对象的所有属性。 __d 阅读全文
posted @ 2018-04-12 10:31 champernain 阅读(542) 评论(0) 推荐(1)
摘要: os.path.dirname(__file__)返回脚本的路径,但是需要注意一下几点: 1、必须是实际存在的.py文件,如果在命令行执行,则会引发异常NameError: name '__file__' is not defined 2、在运行的时候如果输入完整的执行的路径,则返回.py文件的全路 阅读全文
posted @ 2018-04-12 10:30 champernain 阅读(589) 评论(0) 推荐(0)