推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
tedd
V2EX  ›  Python

iOS 或android能直接运行py脚本吗(里面import了urllib2,cookielib,re)

  •  
  •   tedd · Nov 17, 2012 · 5278 views
    This topic created in 5064 days ago, the information mentioned may be changed or developed.
    有个简单的爬虫脚本,检查网页更新的,返回信息很简单,命令行显示都可以,iOS或者android下面能直接运行吗,要能行的话就太方便了,脚本就随时可用了
    10 replies  •  1970-01-01 08:00:00 +08:00
    tedd
        1
    tedd  
    OP
       Nov 17, 2012
    iOS下面看到有个python 2.7 for iOS,没有买不知道能行不
    vven
        2
    vven  
       Nov 17, 2012
    android上可以跑python啊,装个SL4A就行了
    http://code.google.com/p/android-scripting/
    tedd
        3
    tedd  
    OP
       Nov 17, 2012
    @vven 请问能import这些模块吗?之前我试了下import有报错
    vven
        4
    vven  
       Nov 17, 2012
    没试过,可以研究下
    VYSE
        5
    VYSE  
       Nov 17, 2012
    @tedd goagent android版用到了这些模块吧
    cabbala
        6
    cabbala  
       Nov 17, 2012
    @tedd 可以,有报错的话,拿着错误去google上搜
    BigZ
        7
    BigZ  
       Nov 17, 2012
    越狱之后,装python就可以,最好用服务器端做,ios下面展示数据即可
    hewigovens
        8
    hewigovens  
       Nov 18, 2012   ❤️ 1
    越狱后装python肯定可以;python for iOS非so的库一般没问题,而且最近的一次更新已经宣布支持so了。。
    Narcissu5
        9
    Narcissu5  
       Nov 18, 2012
    理论上说Android应该能跑Jython
    tedd
        10
    tedd  
    OP
       Nov 18, 2012
    @hewigovens 果然,已购买,很好用,感谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2931 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 12:13 · PVG 20:13 · LAX 05:13 · JFK 08:13
    ♥ Do have faith in what you're doing.