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