Pydoc 本地 HTML 形式查看

  我们在编写Python代码时,常常会去查询某些模块及函数的使用,会选择 dir() 及 help() 函数、或查看 CHM 格式的Python帮助文档、或查看Python对应文件的源码、或网上搜索等方式。

  这边提供一个本地快速查询 Python 文档的方式: 将 pydoc 文档以本地 HTML 形式来查看;不论是Python内建模块,还是你本机已下载的三方模块,都能查看得到,且能定位到你本机的文件地址。

       下面说下具体实现方式,其实很容易。CMD 窗口,DOS下输入命令行  python -m pydoc -p 7777 

       7777为本机端口号,也可改成其他端口号; 然后浏览器中访问 http://localhost:{端口号}/ ,如 http://localhost:7777/ 即可

  你也可以把该命令行写成批处理格式 bat 方便快速启动。

  

 

  

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
bochs的用户操作手册,英文原版。 该压缩包包含一个pdf版本的用户手册和一个单html版本的用户手册。 \ + Bochs User Manual.pdf + usermanual \+Bochs User Manual.html +images 该文件由bochs官方文档制作而成,方便使用。 Table of Contents 1. Introduction to Bochs 1.1. What is Bochs? 1.2. Who uses Bochs? 1.3. Is Bochs right for me? 1.4. Will it work for me? 1.5. Bochs License 1.6. Third Party Software Licensing and Temporary Files 1.7. Features 1.8. Supported Platforms 1.9. FAQ 2. Release Notes 3. Installation 3.1. Downloading Bochs 3.2. Tracking the source code with SVN 3.2.1. Checking out Bochs 3.2.2. Getting the Latest Version 3.2.3. Getting a Release Version 3.2.4. More about SVN 3.3. Installing a Binary 3.3.1. Windows 3.3.2. Linux RPM 3.3.3. MacOS X DMG 3.4. Compiling Bochs 3.4.1. Standard Compile 3.4.2. Configure Options 3.4.3. Transcript of Successful Compilation 3.4.4. Compiling on Win32 with Microsoft VC++ 3.4.5. Compiling on Win32 with Cygwin or MinGW/MSYS 3.4.6. Compiling on MacOS 9 with CodeWarrior 3.4.7. Compiling on MacOS X 3.4.8. Compiling on Amiga/MorphOS 3.4.9. Compiling with the RFB interface 3.4.10. Compiling with the VNCSRV interface 3.4.11. Compiling with the SDL interface 3.4.12. Compiling with the SDL version 2 interface 3.4.13. Compiling with the wxWidgets interface 3.4.14. Building an RPM on Linux 3.4.15. Compile Problems 4. Setup 4.1. What does Bochs need? 4.2. ROM images 4.3. The configuration file bochsrc 4.3.1. plugin_ctrl 4.3.2. config_interface 4.3.3. display_library 4.3.4. cpu 4.3.5. cpuid 4.3.6. memory 4.3.7. megs 4.3.8. romimage 4.3.9. vgaromimage 4.3.10. optromimage1, optromimage2, optromimage3 or optromimage4 4.3.11. vga 4.3.12. voodoo 4.3.13. keyboard 4.3.14. mouse 4.3.15. pci 4.3.16. clock 4.3.17. cmosimage 4.3.18. private_colormap 4.3.19. floppya/floppyb 4.3.20. ata0, ata1, ata2, ata3 4.3.21. ata0-master, ata0-slave, ata1-*, ata2-*, ata3-* 4.3.22. boot 4.3.23. floppy_bootsig_check 4.3.24. log 4.3.25. logprefix 4.3.26. debug/info/error/panic 4.3.27. debugger_log 4.3.28. com[1-4] 4.3.29. parport

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值