Python
文章平均质量分 67
火箭兄
从事软件开发10多年,以前做微软体系的开发,主要使用.Net framework。目前准备转型用开源体系。
展开
-
Redis的基本指令
Redis的基本指令 REmote DIctionary Server(Redis) 是一个由Salvatore Sanfilippo写的key-value存储系统。 它通常被称为数据结构服务器,因为值(value)可以是 字符串(string), 散列(hash), 列表(list), 集合(sets) 和 有序集合(sorted sets)等类型。 基本类型 基本类型的存取指令 S原创 2018-01-30 23:06:07 · 592 阅读 · 0 评论 -
Python学习笔录(二)--- Python的非正式介绍
2. An informal introduction to Python Comment in Python start with the hash character, #, and extend to the end of the physical line. A comment may appear at the start of a line or following whitesp翻译 2018-01-21 22:52:54 · 216 阅读 · 0 评论 -
Python学习笔记(一)--- Python 解释器
Using Python Interpreter1. Perhaps the quickest check to see whether command line editing is supported is typeControl-P to the first Python prompt you get. If it beeps, you have command line editing.翻译 2018-01-18 23:55:53 · 287 阅读 · 0 评论 -
Python学习笔录(三)--- 更多的控制工具
More Control Flow Tools The keyword elif is short for else if, and is useful to avoid excessive indentation. An if...elif...elif... sequence is a substitute for the switch and case statements found翻译 2018-02-04 15:03:46 · 307 阅读 · 0 评论 -
Python学习笔录(四)--- 数据结构
Data Structures The list methods make it very easy to user a list as a stack (“last-in, first-out”). To add an item to the top of the stack, user append(). To retrieve an item from the top of the st翻译 2018-02-04 23:21:52 · 167 阅读 · 0 评论 -
Python学习笔录(五)--- 模块
Modules A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended, the module’s name (as string) is available as the value of the...翻译 2018-02-11 21:49:43 · 193 阅读 · 0 评论 -
Python学习笔录(六)--- 输入和输出
Input and Output How do you convert values to strings? Luckily, Python has ways to convert any value to a string: pass it to the repr() and str() functions. The str() function is meant to return rep...翻译 2018-02-21 13:33:29 · 223 阅读 · 0 评论