Fork me on GitHub
logging.DEBUG


  • Home

  • Archives

  • Tags

  • About

  • Search

Python基础—文件和流操作

Posted on 2016-03-10 | In Python

Python打开文件可以用open函数
语法:open(filename, mode[, buffering]),返回一个文件对象
mode为文件模式,buffering为缓冲,都是可选参数

Demo Github源码

Read more »

Python基础—日期与时间操作

Posted on 2016-03-05 | In Python

Python标准库中提供了datatime模块来操作日期和时间

Demo Github源码

Read more »

Redis监控工具—Redis-stat、RedisLive

Posted on 2016-02-25 | In NoSQL , Redis

Redis-stat(Ruby)和Redis Live(python)是两款Redis监控工具,下面将介绍如何安装部署这两个工具,监控Redis运行情况


Read more »

Redis安装与配置

Posted on 2016-02-20 | In NoSQL , Redis

Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker.It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries.

Redis作为如今比较火热的NoSQL数据库,在数据的热数据存储和查询方面有着不错的应用,这篇文章将介绍Redis的安装和配置信息。


Read more »

Python基础-异常处理(except)

Posted on 2016-02-06 | In Python

什么是异常?
当程序运行时发生了某些错误,这时就会引发异常。Python中用异常对象(exception object)来表示异常情况,如果异常对象并没有被处理,程序就会终止,并发出回溯(traceback)显示错误信息


Read more »
1…678…11
wxmimperio

wxmimperio

53 posts
33 categories
61 tags
RSS
Github
© 2015 — 2020 wxmimperio
Powered by Hexo
|
Theme — NexT.Mist v5.1.4