初学python,发个单词本的脚本
linux吧
全部回复
仅看楼主
level 10
Kevinneyc 楼主
一楼百度,刚才就被删了。。
2012年10月13日 01点10分 1
level 10
Kevinneyc 楼主
[有效] http://pan.baidu.com/share/link?shareid=79774&uk=1065508
会在所在目录创建一个.wordlist 的文件。
说明:
voct add [word] [meaning] ------add a new word
voct del [word] ------delte a word from the list
voct find [word] ------find a word in the list
voct list ------list all the words in the list
voct test ------take a test
voct help ------ask for help
2012年10月13日 01点10分 4
这就是Pyhon的语法?形式参数早[]里?
2013年04月20日 08点04分
level 10
Kevinneyc 楼主
难道我发DBank的链接就要被删吗。。。
2012年10月13日 01点10分 5
level 8
python很暴力,很强大~
2012年10月13日 01点10分 6
level 11
度娘只接受百度网盘链接
2012年10月13日 02点10分 7
level 13
来了兴致,打算用shell写一个(流编辑器别怪我开挂[抛媚眼]
2012年10月13日 07点10分 8
level 11
[啊!]这个用shell 脚本不是更简单吗?
2012年10月13日 07点10分 9
shell不会。。。
2012年10月13日 07点10分
在学python,就试着写了个。
2012年10月13日 07点10分
level 13
基本写好,就差help
2012年10月13日 07点10分 10
level 13
虽然限制较多。。
2012年10月13日 08点10分 11
效果差不多
2012年10月13日 08点10分
level 10
8pm
鼓励原创
网盘很不方便
可以改进的地方很多
dump 成 json 相较比 pickle 来说对第三方更方便(纯文本通用格式)
function 是 first-class 的,dispatch 可以用 {'argv[1]': function} 的 dict,elif 方法不好写、读和维护
建议每学到点新的内容和技巧就回顾这个,看看能不能用上来改进
加油

2012年10月13日 17点10分 13
谢谢!
2012年10月13日 23点10分
level 11
不知道用来干嘛的
2012年10月14日 04点10分 14
level 8
MIT公开课来的吧。。。。现在的人啊。。[心碎]
2012年11月12日 06点11分 15
什么啊?MIT只看过SICP
2012年11月12日 06点11分
回复 Kevinneyc :公开课 绝对是。别什么啊什么的。
2012年11月12日 10点11分
回复 wanderboxpony1 :没明白你在说什么
2012年11月12日 10点11分
回复 wanderboxpony1 :[开心]
2012年11月12日 18点11分
level 11
学完python好久没用。快忘了。。。
2012年11月12日 06点11分 16
level 6
新人路过
2013年01月01日 08点01分 17
1