2012年12月19日

python调用其它脚本:pig,python,shell等等 (如何获取pig脚本执行的返回值)

摘要: Python中调用pig语句: 通过三个shell核命令可以 os.system(‘执行的文件,可以是’) os.popen() os.startfile() 具体步骤: 1. 输入python,进入解释器模式。 2. Import os 3. 执行os.sy... 阅读全文

posted @ 2012-12-19 13:58 代码王子 阅读(984) 评论(0) 推荐(0)

linux cd命令介绍

摘要: 1.名称:cd 2.使用对象:所有使用者 3.命令格式:cd [dirName] (cd和目录之间使用空格隔开) 4.作用:切换当前目录至dirName。 5.使用范例: [snms@snms /]$ cd / [snms@snms /]$ ls bin dev h... 阅读全文

posted @ 2012-12-19 13:57 代码王子 阅读(334) 评论(0) 推荐(0)

导航