自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 Reading List

Computer Systems: A Programmer’s Perspective Advanced Programming in the UNIX Environment UNIX Network Programming HTTP: The Definitive Guide

2016-09-13 14:17:11 334

原创 Git Django 上傳

开始我们自己的Git版本库Git跟踪一组特定的在代码仓库(或简称“仓库”)中文件的更改。 我们开始用git管理自己的项目吧。 打开你的终端,进入 djangogirls 文件夹运行以下的命令:注意 在初始化仓库之前,请使用 pwd命令 (OSX/Linux) 或者 cd (Windows) 命令检查你当前的工作目录。 你应该是在 djangogirls 文件夹下运行命令。$ git init Ini

2016-09-12 16:05:59 716

转载 Python and or

1. not is evaluated first2. and is evaluated next3. or is evaluated last>>> bool_one = False or not True and True # True >>> bool_two = False and not True or True # True >>> bool_three = True and not (

2016-07-31 14:10:11 288

原创 40.类和对象:一些相关的BIF

一些相關BIFissubclass(class, classing)用来判断类参数class是否是类型参数classinfo的子类>>> class A: pass >>> class B(A): pass >>> issubclass(B, A) True >>> issubclass(B, B) True >>> is subclass(B, object) T

2016-07-26 09:23:42 629

原创 The Python Tutorial - Input and Output

7. Input and Output函数 str() 用于将值转化为适于人阅读的形式,而 repr() 转化为供解释器读取的形式(如果没有等价的语法,则会发生 SyntaxError 异常) 某对象没有适于人阅读的解释形式的话, str() 会返回与 repr() 等同的值。 >>> s = 'Hello, world.' >>> str(s) 'Hello, world.' >>> repr(s

2016-07-21 20:18:45 474

原创 The Python Tutorial - Modules

The Python Tutorial6.Modules# /Desktop/fibo (在桌面创建fibo.py) # Fibonacci numbers moduledef fib(n): # write Fibonacci series up to n a, b = 0, 1 while b < n: print(b, end=' ') a

2016-07-21 09:49:14 275

原创 The Python Tutorial - Data Structures

5.Data Structures关于列表更多的内容>>> a = [66.25, 333, 333, 1, 1234.5] >>> print(a.count(333), a.count(66.25), a.count('x')) 2 1 0 >>> a.insert(2, -1) >>> a.append(333) >>> a [66.25, 333, -1, 333, 1, 1234.5, 3

2016-07-21 09:24:56 345

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除