- 博客(9)
- 资源 (12)
- 收藏
- 关注
原创 一字一句体验语言的魅力-2:80386-datasheet翻译学习-第一章完
1.1.4 Part IV ── Instruction Set 指令集 Parts I, II, and III present overviews of the instructions as they relate to specific aspects of the architecture, but this part presents the instr
2015-09-21 00:03:31 497
原创 python-04<关于字典:键必须是可哈希的>
此脚本来自《python核心编程》-映像类型:字典(python中唯一的映像类型) # -* - coding: UTF-8 -* - #===》提供中文注释 #!/usr/bin/env pythondb = {} #===》创建一个空的字典def newuser(): prompt = 'login desired: ' while True:
2015-09-12 11:21:59 2066
原创 mariadb-2
populate.sql =>来自《mariadb crash course》######################################## # MariaDB Crash Course # URL # Example table population scripts ######################################## ###############
2015-09-11 13:49:59 385
原创 mariadb-1
create.sql 来自《mariadb crash course》######################################## # MariaDB Crash Course # URL # Example table creation scripts ######################################## #####################
2015-09-11 13:48:34 350
原创 遇到的句子
1.- You must have the appropriate credentials if you want to use the command-line tools to make queries against your OpenStack cloudagainst 的翻译 介词 针对 against, anti, in connection with, contra, cont
2015-09-11 13:45:26 322
原创 Python核心编程-练习3
unicode使用一个或是多个字节表示一个字符的方法。unicode方式的编码/解码#!/usr/bin/env python ''' An example of reading and writing Unicode strings:Writes a Unicode string to a file in utf-8 and reads itback in. ''' CODEC = 'utf-8'
2015-09-04 00:16:30 332
原创 python核心编程-练习2
1.测试字母,数字,下划线: #!usr/bin/env pythonimport stringalphas = string.letters + '_' print alphas nums = string.digits print numsprint 'Welcome to the Identifier Checker v1.0' print 'Testees must be at least
2015-09-03 22:01:01 382
原创 Python核心编程-练习
1.isinstance function#!/usr/bin/env pythondef displayNumType(num): print num, 'is', if isinstance(num, (int, long, float, complex)): print 'a number of type:', type(num).__name__
2015-09-02 22:17:01 369
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人