DIY个人智能家庭网关—— 路由器篇之安

发布时间:2019-09-26 10:43:25编辑:auto阅读(2205)

    Python是一种解释型、面向对象、动态数据类型的高级程序设计语言.

    在openwrt上进行二次开发编写自己的程序,python肯定是最方便最快捷的编程语言,因为它是解释型语言,无需openwrt的编译环境,只要安装好了python就可以直接编写自己的程序了,目前我安装了如下python软件包

    root@OpenWrt:~# opkg list-installed python*
    python - 2.7.9-6
    python-base - 2.7.9-6
    python-codecs - 2.7.9-6
    python-compiler - 2.7.9-6
    python-light - 2.7.9-6
    python-logging - 2.7.9-6
    python-pyserial - 2.7-1
    python-xml - 2.7.9-6

    安装方法很简单,直接opkg install ***就OK了

    python的基础教程请看这里

关键字