Skip to content

Commit 8c6be65

Browse files
committed
Merge pull request Show-Me-the-Code#172 from xieyajie/master
xieyajie show the python code
2 parents 1b63fb2 + 98bc77d commit 8c6be65

33 files changed

Lines changed: 1405 additions & 0 deletions

xyjxyf/0000/0000.jpg

3.3 KB
Loading

xyjxyf/0004/0004.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
Henry was a pen name used by an American writer of short stories.
3+
4+
His real name was William Sydney Porter.

xyjxyf/0005/1.jpg

3.3 KB
Loading

xyjxyf/0005/2.jpg

21.5 KB
Loading

xyjxyf/0006/00061.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
Henry was a pen name used by an American writer of short stories.
3+
4+
His
5+
6+
His
7+
8+
His
9+
10+
His
11+
12+
Henry was a pen name used by an American writer of short stories.

xyjxyf/0006/00062.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
Henry was a pen name used by an American writer of short stories.
3+
4+
His real name was William Sydney Porter.
5+
6+
pen pen
7+
pen pen pen pen pen pen

xyjxyf/0007/stringer.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# coding = utf-8
2+
3+
import random, string
4+
5+
/*
6+
sdfhjdsf
7+
hgjh
8+
*/
9+
# def Unicode():
10+
# val = random.randint(0x4E00, 0x9FBF)
11+
# return unichr(val)
12+
#
13+
# # 随机汉字
14+
# def GB2312():
15+
# head = random.randint(0xB0, 0xCF)
16+
# body = random.randint(0xA, 0xF)
17+
# tail = random.randint(0, 0xF)
18+
# val = ( head << 8 ) | (body << 4) | tail
19+
# str = "%x" % val
20+
# return str.decode('hex').decode('gb2312')
21+
22+
# 随机字母
23+
def rand_char():
24+
return chr(random.randint(65, 90))
25+
26+
# 随机字母或者数字
27+
def rand_choice():
28+
str = 'abcdefghigklmnopqrstuvwxyzQWERTYUIOPASDFGHJKLZXCVBNM1234567890'
29+
return random.choice(str)

xyjxyf/0011/0011.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
北京
2+
程序员
3+
公务员
4+
领导
5+
牛比
6+
牛逼
7+
你娘
8+
你妈
9+
love
10+
sex
11+
jiangge

xyjxyf/0014/student.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"1":["张三",150,120,100],
3+
"2":["李四",90,99,95],
4+
"3":["王五",60,66,68]
5+
}

xyjxyf/0014/student.xls

5.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)