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

求助 PyCharm 工程的每个__init__.py 都是文本编辑(不能自动补全,代码模式),并且一些存在的包引入函数失效

  •  2
     
  •   Jolly23 · Jul 1, 2016 · 4332 views
    This topic created in 3739 days ago, the information mentioned may be changed or developed.

    很奇怪,前几天还好好的, mbp 上的 PyCharm 现在突然除了这毛病,是我不小心触发了什么设置吗?

    稍等上图

    4 replies  •  2016-07-01 18:59:51 +08:00
    yangg
        1
    yangg  
       Jul 1, 2016
    Settings-> Editor-> File Types 看看 Text 有没有添加 这个后缀
    Jolly23
        2
    Jolly23  
    OP
       Jul 1, 2016
    @yangg 哇,好厉害,解决了我的问题,可能是我平常触碰到什么快捷键了。。。强
    我还在研究 V2EX 怎么放图片,新来的,多多关照
    Jolly23
        3
    Jolly23  
    OP
       Jul 1, 2016
    http://flask.jolly23.com/uploads/1.pic.jpg
    自己用 flask 建了个网站。。。专门用来存放 V2EX 要引的图片。
    大家要是想用的话也来用我的吧。
    flask.jolly23.com/up
    只能放主流图片
    Jolly23
        4
    Jolly23  
    OP
       Jul 1, 2016
    @Jolly23
    ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif', 'JPG'])
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2751 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 02:15 · PVG 10:15 · LAX 19:15 · JFK 22:15
    ♥ Do have faith in what you're doing.