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

Python 官方文档的这 2 个 CSS 文件导致浏览器空白无响应是什么原因啊?

  •  
  •   crab · Nov 15, 2023 · 628 views
    This topic created in 935 days ago, the information mentioned may be changed or developed.
    比如这个页面: https://docs.python.org/3/library/dataclasses.html 会出现[图 1]情况。( win10 系统 chrome edge IE 都一样不能显示出网页内容,无痕模式也一样。)

    同网络环境下用 win10 虚拟机和手机的浏览器却可以正常访问,排除网络原因后定位到是[图 2]这 2 个 css 文件导致。(屏蔽这 2 个文件就可以顺利显示出网页内容)
    https://docs.python.org/3/_static/pygments.css
    https://docs.python.org/3/_static/basic.css

    但用本地安装的 Python 自带的文档\Doc\html 访问 dataclasses.html 也是能正常,这样又排除那 2 个 css 文件内容原因。

    如果排除了网络,浏览器,css 文件的问题,还有什么原因会导致这情况。(就差没卸载系统上有驱动的 IDM 和火绒测试)

    [图 1]



    [图 2]
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2917 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:30 · PVG 15:30 · LAX 00:30 · JFK 03:30
    ♥ Do have faith in what you're doing.