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

python 使用 markdown 想改成 misaka,但重启后没生效,是哪里出了问题?

  •  
  •   autofans · May 4, 2015 · 3005 views
    This topic created in 4163 days ago, the information mentioned may be changed or developed.
    import misaka

    def misaka(self, content):
    if not content:
    return ""
    return misaka.html(content)

    求指点
    2 replies  •  2015-05-05 08:45:15 +08:00
    trdcaz
        1
    trdcaz  
       May 5, 2015
    重新排版下吧,虽然知道,还是看着别扭
    trdcaz
        2
    trdcaz  
       May 5, 2015
    import misaka

    然后函数还命名 misaka ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2547 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 04:59 · PVG 12:59 · LAX 21:59 · JFK 00:59
    ♥ Do have faith in what you're doing.