python on e6

找了python2.5.2的E6版本,然后按照http://www.motorolafans.com/forums的方法安装上了。

包包里有个一直就不喜欢.system目录。研究了一下加入了个环境脚本。

#!/bin/bash
export PATH=:/mmc/mmca2/python/bin
export PYTHONHOME=:/mmc/mmca2/python
export LD_LIBRARY_PATH=:/mmc/mmca2/python/lib/python2.5/lib-dynload

把打好的包解开到SD卡上[花去48M+空间]。然后到终端里[这里可以在手机端的ekconsole也可以是telnet到手机]

进入相应目录执行./envpy.sh,执行./bin/python

53b7c59.bmp

我这里不知道有点问题。貌似之前脚本里的环境变量没有生效。

53b7c94.bmp

忍不住来个helloworld,执行成功。但是quit()还是执行不了。

下个目标是自己搭建个ezxsdk来编译python26

This entry was posted in 流水, 还是会寂寞 and tagged , . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

4 Responses to python on e6

  1. Vote -1 Vote +1一兮 CHINA Internet Explorer Windows
    說道:

    你是不是该弄个摘要插件喃···

    嗯··用户体验··

  2. Vote -1 Vote +1Var CHINA Mozilla Firefox Windows
    說道:

    哇,没看错话,你说的是手机上安装python?
    这么爽啊! 不过输入代码方便吗?

    • Vote -1 Vote +1xifs CHINA
      說道:

      没看错,确实是手机上的,E6本来就是Linux核心的。输入的话,不是很爽。但是可以在电脑上编好脚本,在手机上执行,这样手机就变强大了

Leave a Reply

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

注意: 评论者允许使用'@user空格'的方式将自己的评论通知另外评论者。例如, ABC是本文的评论者之一,则使用'@ABC '(不包括单引号)将会自动将您的评论发送给ABC。使用'@all ',将会将评论发送给之前所有其它评论者。请务必注意user必须和评论者名相匹配(大小写一致)。

Chat Plugin created by Jake Ruston's Wordpress Plugins - Powered by Hardshell Laptop Cases and Ben 10 Games.