+ -
当前位置:首页 → 问答吧 → 谁能帮忙把几句shell脚本程序翻译成python脚本

谁能帮忙把几句shell脚本程序翻译成python脚本

时间:2011-08-17

来源:互联网

#!/bin/bash

BITBAKE=bitbake.1 

export TOPDIR=`pwd`
export BBPATH=$TOPDIR/meta:$TOPDIR/meta/build
PATH=$TOPDIR/bitbake/$BITBAKE/bin:$PATH

bitbake -s install

这个bitbake命令使用python脚本写成的,会把执行结果打印到屏幕上

急用啊,可是没学过python,哪位能帮帮忙,谢谢啦~~~

作者: guolei000   发布时间: 2011-08-17

建议你先学习下python。现学现写可能比让别人代劳还快。

作者: iambic   发布时间: 2011-08-17