• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
天生我材有P用
When Everything Is Ready, Everything May Be Too Late
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页

2015年6月16日

python3 与 python2的 区别比较
摘要: http://sebug.net/paper/books/dive-into-python3/porting-code-to-python-3-with-2to3.html 阅读全文
posted @ 2015-06-16 10:16 沉重的蚂蚱 阅读(194) 评论(0) 推荐(0)
 
 

2015年6月15日

Python定制类
摘要: https://docs.python.org/3/reference/datamodel.html#special-method-names 阅读全文
posted @ 2015-06-15 17:44 沉重的蚂蚱 阅读(156) 评论(0) 推荐(0)
 
python内置函数
摘要: https://docs.python.org/3/library/functions.html 阅读全文
posted @ 2015-06-15 16:56 沉重的蚂蚱 阅读(104) 评论(0) 推荐(0)
 
Python作用域
摘要: 以下依据Python 31.Python变量查找顺序为LEGB(L:Local,E:Enclosing,G:Global,B:Built-in)。2.实际上,在Python中,只有模块,类以及函数才会引入新的作用域,其它的代码块是不会引入新的作用域的。 阅读全文
posted @ 2015-06-15 14:47 沉重的蚂蚱 阅读(107) 评论(0) 推荐(0)
 
Chrome插件
摘要: 1.音乐电台2.worktile3.imtranslator4.有道词典5.adblock6.截图插件 阅读全文
posted @ 2015-06-15 14:21 沉重的蚂蚱 阅读(158) 评论(0) 推荐(0)
 
 

2015年6月12日

Map/Reduce
摘要: 1.函数式编程,面向对象编程,面向过程编程 把函数作为参数传入,这样的函数称为高阶函数,函数式编程就是指这种高度抽象的编程范式。 阅读全文
posted @ 2015-06-12 16:35 沉重的蚂蚱 阅读(147) 评论(0) 推荐(0)
 
shell注意事项
摘要: 以下基于bash1.shell只有变量和数组?,数组()2.( (表达式1,表达式2…) )3.[ expr] 实际上是bash 中 test 命令的简写。即所有的 [ expr ] 等于 test expr4.[ [ expr ] ] 是bash中真正的条件判断语句 阅读全文
posted @ 2015-06-12 10:47 沉重的蚂蚱 阅读(220) 评论(0) 推荐(0)
 
 

2015年6月11日

python注意事项
摘要: 以下基于python3.4.31.python3与python2不兼容2.python语言正确的缩进很重要!事实上缩进是种语法 C中需要 { } 的的地方,python使用 : +缩进 实现3.if else语句如果满足其中一条就会跳出判断4.元组(),list[],dict{}5.python ... 阅读全文
posted @ 2015-06-11 23:10 沉重的蚂蚱 阅读(294) 评论(0) 推荐(0)
 
为ubuntu添加右键打开终端效果
摘要: 安装工具:nautilus-open-terminalsudo apt-get install nautilus-open-terminal注销或重启 阅读全文
posted @ 2015-06-11 14:51 沉重的蚂蚱 阅读(220) 评论(0) 推荐(0)
 
 

2015年6月10日

shell 空格问题
摘要: 1.定义变量时, =号的两边不可以留空格. eg: gender=femal------------right gender =femal-----------wrong gender= femal-----------wrong2.条件测试语句 [ 符号的两边都要留空格. e... 阅读全文
posted @ 2015-06-10 18:14 沉重的蚂蚱 阅读(685) 评论(0) 推荐(0)
 
 
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3