推荐学习书目
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
i730
V2EX  ›  Python

闲的没事写了个框架 求打醒

  •  
  •   i730 · Dec 9, 2017 · 4979 views
    This topic created in 3085 days ago, the information mentioned may be changed or developed.

    轻喷,轻点
    Github 传送门
    纯属是瞎弄的,大佬们就算了吧。

    24 replies    2017-12-12 08:48:22 +08:00
    awing
        1
    awing  
       Dec 9, 2017
    话说这东西有什么用
    i730
        2
    i730  
    OP
       Dec 9, 2017
    @awing #1 随便用吧....杂七杂八的函数
    yearliny
        3
    yearliny  
       Dec 9, 2017 via Android
    重新定义框架。最好是专一某一方面的,这样更像是自用的工具库
    i730
        4
    i730  
    OP
       Dec 9, 2017
    @yearliny #3 巧了真的是工具库,杂项嘛
    xzpjerry731
        5
    xzpjerry731  
       Dec 9, 2017
    看到 sundry 我笑了
    ligyxy
        6
    ligyxy  
       Dec 9, 2017
    建议拆分写在 Github Gist 上更合适
    i730
        7
    i730  
    OP
       Dec 9, 2017
    @ligyxy #6 gist 上托管文档?怪怪的....
    @xzpjerry731 #5 杂项,没有毛病
    xzpjerry731
        8
    xzpjerry731  
       Dec 9, 2017
    @i730 #7 主要是第一个函数 ; 另外杂项看母语者一般用 miscellaneous
    skyrem
        9
    skyrem  
       Dec 9, 2017
    testgfw
    此方法返回 0 代表 GFW 正常,反之亦然。

    反之亦然?反之则反吧?
    i730
        10
    i730  
    OP
       Dec 9, 2017 via Android
    @skyrem 等下修
    @xzpjerry731 太长拒绝,第一个函数 xxoo 用的
    bramblex
        11
    bramblex  
       Dec 9, 2017
    嗯,工具库不能叫框架的,虽然工具库也是好东西
    Kilerd
        12
    Kilerd  
       Dec 9, 2017
    意义在哪里? 你这个最多只能算是简单的自用的工具库而已。
    i730
        13
    i730  
    OP
       Dec 9, 2017
    @Kilerd #12 #3 巧了真的是工具库,杂项嘛
    wellsc
        14
    wellsc  
       Dec 9, 2017
    充其量只能算是 helpers func
    Clarencep
        15
    Clarencep  
       Dec 9, 2017
    不造轮子的程序员不是好司机
    v2gg
        16
    v2gg  
       Dec 9, 2017
    @i730 建议把 https://github.com/tetsaicn/Pyomnipotent/blob/master/pyomt/sundry.py#L12www.google.com 换成 www.google.com/jsapi 这是一个 google 提供的 jsapi 的 js 库 很小并且不会因为地区跳转 防止服务器太渣而检测失败 2333 一点小建议
    i730
        17
    i730  
    OP
       Dec 10, 2017 via Android
    @v2gg 不会的不会的 墙倒了的话 google 肯定能上。 滑稽
    i730
        18
    i730  
    OP
       Dec 10, 2017 via Android
    @v2gg 果真不错,回去就 commit
    prasanta
        19
    prasanta  
       Dec 10, 2017 via Android
    只支持 2.7 ?
    i730
        20
    i730  
    OP
       Dec 10, 2017 via Android
    @prasanta readme 写得很清楚 py2
    Perterually
        21
    Perterually  
       Dec 11, 2017
    不造轮子的程序员不是好司机
    YMB
        22
    YMB  
       Dec 11, 2017
    composer plug?
    comsen
        23
    comsen  
       Dec 11, 2017
    不造轮子的程序员不是好司机
    v2gg
        24
    v2gg  
       Dec 12, 2017 via iPad
    等下= = 这个还是有点大 2333 我怎么没想到 humans.txt 呢 小的很 很舒服 233333
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5169 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 145ms · UTC 08:33 · PVG 16:33 · LAX 01:33 · JFK 04:33
    ♥ Do have faith in what you're doing.