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

求助一个新手问题。

  •  
  •   clintme · Apr 19, 2024 · 2474 views
    This topic created in 753 days ago, the information mentioned may be changed or developed.

    用 python PyPDF2 组件读取 pdf 文件,如何区分出真实的段落和每一行的分割呢,都是用\n 表示的,全部替换的话就失去段落了。

    2 replies    2024-04-20 09:18:46 +08:00
    caomu
        1
    caomu  
       Apr 20, 2024 via Android
    clintme
        2
    clintme  
    OP
       Apr 20, 2024
    用正则搞定了,感谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5734 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 01:44 · PVG 09:44 · LAX 18:44 · JFK 21:44
    ♥ Do have faith in what you're doing.