Differences between revisions 3 and 4
Revision 3 as of 2004-10-09 09:36:00
Size: 14626
Editor: 218
Comment:
Revision 4 as of 2004-10-09 10:38:25
Size: 2387
Editor: ip54516cce
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Describe PythonLibraryReference/MiscellaneousServices/PydocModule here.
**************Please do not delete,I send this message only one time,in order to introduce some china website.IF you delete,I will publish every day.***************
[:../:Miscellaneous Services]
Line 4: Line 3:
I am from china,I want to introduce some very good chinese sites to you ,so you can find something about china cluture,people. == pydoc ==
Line 6: Line 5:
[http://www.ec51.com/ importers]
[http://www.ec51.com/ distributors]
[http://www.ec51.com/ buyers]
[http://www.ec51.com/ 供求信息]
[http://www.ec51.com/sitemap.htm EC51 sitemap]
[http://www.58798309dyb.com/ 公司注册,注册公司]
[http://www.ec198.com/ 网站推广]
[http://www.ec198.com/ 网站排名]
[http://www.ec51.cn/ Google排名]
[http://www.ec51.cn 搜索引擎排名]
[http://www.ec51.org/ 网站建设]
[http://www.58798309dyb.com/ 公司注册]
[http://www.58798309dyb.com/ 注册公司]
[http://www.58798309dyb.com/ 上海公司注册]
[http://www.58798309dyb.com/ 海外公司注册] [http://www.ec51.com/index1.php 外贸]
[http://glassfurniture.ec51.net glass furniture]
[http://officefurniture.ec51.net/ office furniture]
[http://washer.ec51.net/ washer]
[http://padlock.ec51.net/ padlock]
[http://handbag.ec51.net/ handbags]
[http://diamond-saw-blades.ec51.net/ Diamond Saw Blades]
[http://backpack.ec51.net/ backpack]
[http://briefcase.ec51.net/ briefcase]
[http://jewellery.ec51.net/ jewellery]
[http://www.xmtmdart.com Dartboard]
[http://www.ec51.com/info.php 供求信息]
[http://www.ec51.com/com.php 公司库]
[http://www.ec51.com/pro.php 产品库]
[http://www.ec51.com/en/info.php tradeleads]
[http://www.ec51.com/en/com.php company diretory]
[http://www.ec51.com/en/pro.php products]
[http://www.58798309dyb.com/news.asp?id=188 网络科技公司注册]
[http://www.58798309dyb.com/news.asp?id=185 商业贸易公司注册]
[http://www.58798309dyb.com/news.asp?id=184 酒店管理公司注册]
[http://www.ec51.com/en/info.php/ B2B offers]
[http://www.ec51.com/en/com.php/ china suppliers]
[http://www.ec51.com/en/pro.php/ china products]
[http://www.ec198.com 网站推广]
[http://www.ec51.cn 虚拟主机,网站建设]
[http://www.ec51.cn/web.htm 网页设计]
[http://www.ec51.cn/isp.htm 网站空间]
[http://www.ec91.com 网址大全]
[http://www.ec91.com/chat.htm 聊天]
[http://www.ec91.com/love.htm 交友]
[http://www.ec51.com/wz 网址大全]
[http://www.ec91.com/program.htm 科技]
[http://www.ec91.com/fcys.htm 房产]
[http://www.ec91.com/szsm.htm 时装商贸]
[http://www.ec91.com/zjzz.htm 政府组织]
[http://www.ec91.com/nav.htm 省会城市]
[http://www.ec51.com/link.htm 友情链接]
[http://www.ec51.cn 网页设计]
[http://www.ec51.org yahoo排名]
[http://www.ec91.com 网址精选]
[http://www.58798309dyb.com/ 外贸公司注册]
[http://www.58798309dyb.com/ 上海注册公司]
[http://www.58798309dyb.com/ 高科技公司注册]
[http://www.58798309dyb.com/ 美国公司注册]  
[http://www.58798309dyb.com/ 工商注册]
[http://www.58798309dyb.com/ 上海工商注册]  
[http://hotel.ec51.net 酒店预订]
[http://datahf.ec51.net 数据恢复]
[http://ticket.ec51.net 机票]
[http://translate.ec51.net 翻译公司]
[http://manger.ec51.net 管理咨询]
[http://marketing.ec51.net 网络营销]
[http://meeting.ec51.net 视频会议]
[http://notebook.ec51.net 笔记本电脑]
[http://zippo.ec51.net Zippo打火机]
[http://projector.ec51.net 投影机]
[http://projector.ec51.net 投影仪]
[http://figer.ec51.net 考勤机]
[http://figer.ec51.net 指纹考勤机]
[http://brank.ec51.net 商标注册]  
[http://brank.ec51.net 美国商标注册]
[http://lawyer.ec51.net 律师]
[http://lawyer.ec51.net 律师事务所]
[http://safety.ec51.net 安防]
[http://safety.ec51.net 监控]
[http://adult.ec51.net 成人用品]
[http://adult.ec51.net 性用品]  
[http://adult.ec51.net 情趣用品]
[http://toy.ec51.net 玩具]
[http://toy.ec51.net 电子玩具]
[http://toy.ec51.net 益智玩具]
[http://toy.ec51.net 毛绒玩具]
[http://toy.ec51.net 填充玩具]
[http://gate.ec51.net 门禁系统]
[http://gate.ec51.net 门禁]
[http://solar.ec51.net 太阳能热水器]
[http://solar.ec51.net 太阳能]
[http://saftey.ec51.net 安防设备]
[http://office.ec51.net 深圳写字楼]
[http://office.ec51.net 写字楼出租]
[http://office.ec51.net 写字楼出售]
[http://washer.ec51.net/ washer]
[http://padlock.ec51.net/ padlock]
[http://setm.ec51.com Industrial Lighting Fitting]
[http://binoculars.ec51.com binocular]
[http://qimingkeji.ec51.com paint&pigment]
[http://HANSEN202.ec51.com TEXTILES & GARMENTS]
[http://sunnywang.ec51.com glasses]
[http://reasonlee.ec51.com lawn mower]
[http://sunrise.ec51.com wood]
[http://chinalj.ec51.com chairs]
[http://bead.ec51.com evening dress]
[http://chemshine.ec51.com chemicals]
[http://henryfoo.ec51.com Digital Vidicon]
[http://xmtm.ec51.com dart&dartboard]
[http://zhh0406.ec51.com silicon metal]
[http://yzgt.ec51.com Fiberglass]
[http://sztyh.ec51.com Bowling equipment]
[http://realtex.ec51.com GRIPPER HEAD]
[http://jamezhang.ec51.com sports]
[http://dove.ec51.com golf ball]
[http://ttichina.ec51.com pocket bike]
[http://eastgrace.ec51.com kid's garment]
[http://gjjgzjl.ec51.com Building hoist]
[http://greattorch.ec51.com consumer electronics]
[http://allproducts.ec51.com security products]
[http://bath-duschy.ec51.com bath & shower products]
[http://bowei.ec51.com wiring accessories]
[http://shininess.ec51.com socket&switch]
[http://fujin.ec51.com Solar module]
[http://PeterHang.ec51.com textiles]
[http://Micro.ec51.com Mobile Phone Accessories & parts]
[http://lynnleng.ec51.com Diamond Tools]
[http://morgancb.ec51.com wader&raincoat]
[http://markckj.ec51.com home accessories]
[http://cntbc.ec51.com Fabric]
[http://gdbasex.ec51.com toys]
[http://FSQuince.ec51.com Photo frame]
[http://admetus.ec51.com lighting glass]
[http://huyunbei.ec51.com home supplies]
[http://mtglobal.ec51.com Mini Radio]
[http://aschem.ec51.com DETERGENT PODWER]
[http://yztscl.ec51.com Knitted T-shirts]
[http://craft-st.ec51.com Decorations]
[http://romy.ec51.com jewelry]
[http://yiqing.ec51.com steam cleaner]
[http://winchem.ec51.com glass beads]
[http://salina.ec51.com outerwear]
[http://zhouxun.ec51.com DVD&VCD player]
[http://rainton.ec51.com INJECTION PUMPS]
[http://hmbusiness.ec51.com pharmaceutical machinery]
[http://linuosh.ec51.com crystal glass]
[http://cymotor.ec51.com UNIVERSAL MOTOR]
[http://cccrystal.ec51.com crystal pendant]
[http://aduis.ec51.com glasses]
[http://zkl955151.ec51.com shower cabin]
[http://zmzhang77.ec51.com textiles]
[http://oceanwd.ec51.com Stationery]
[http://yufeng168.ec51.com Detergent powder]
[http://zytrading.ec51.com light decoration]
[http://Shinestar.ec51.com Shinestar]
[http://cnyuanda.ec51.com air purifiers]
[http://sunyard.ec51.com ribbon bow]
[http://hbzili.ec51.com PVC Doormats]
[http://cjwxx.ec51.com chemical]
[http://fine520.ec51.com phytic acid]
[http://cmechubei.ec51.com diesel engine]
[http://SPC_GROUP.ec51.com jointing equipment]
[http://cosmor.ec51.com auto accessories & parts]
[http://Mondorocn.ec51.com home furniture]
[http://jsglass008.ec51.com Thermomete]
[http://goodwin.ec51.com CANDLES]
[http://kugo.ec51.com stationery]
[http://dan9.ec51.com socks]
[http://harmonygmt.ec51.com Leather Garment]
[http://hongji88.ec51.com ZIPPER&button]
[http://yoingjiang.ec51.com tableware]
[http://duori.ec51.com electromechanical equipment]
[http://newtime01.ec51.com home supplies]
[http://wjc922.ec51.com ELECTRONIC&plastic]
[http://powtele.ec51.com PROJECTOR]
[http://xmhny.ec51.com oxygen bar series]
[http://shwztrade.ec51.com Fiberglass products]
[http://weiasdhong.ec51.com dress]
[http://salebattery.ec51.com Nimh batteries&chargers]
[http://decomin.ec51.com Fan]
[http://Hitrade.ec51.com Gifts and decorative items ]
[http://fhsy888.ec51.com steel glass]
[http://fc320.ec51.com 广交会]
[http://homesourcing.ec51.com Sourcing products]
[http://tcgy.ec51.com WOODEN PHOTO FRAMES]
[http://jsue01.ec51.com camera]
[http://kaipengcz.ec51.com spun bond fabric]
[http://hctysyb.ec51.com sodium antimonate]
[http://janet1207.ec51.com oil filter]
[http://swwsd.ec51.com bromic acid natrium]
[http://mikewolf.ec51.com fabrics products]
[http://molina.ec51.com faucet&valve]
[http://Anglo-Thai.ec51.com Clothing]
[http://unitrans.ec51.com Ceramic Tile]
[http://tqcj1972.ec51.com steel cutlery]
[http://Shiny.ec51.com Electric Tools]
[http://yhjhzg.ec51.com Gifts & Crafts]
[http://suzyzheng.ec51.com Remote Control toys]
[http://sdmark.ec51.com PE&PO&PP]
[http://qiangmin.ec51.com Leather Shoes]
[http://zgybsh.ec51.com medicine]
[http://cjacja.ec51.com sweater]
[http://cnscooter.ec51.com Electric Scooter]
[http://kwanwa.ec51.com digital watch]
[http://tiane.ec51.com artificial Crafts]
[http://sintecasia.ec51.com boot]
[http://sunko.ec51.com SPEAKER]
[http://zhongdan.ec51.com Bamboo ]
[http://walget.ec51.com glass&ceramic]
[http://ykstx.ec51.com POCKET BIKE]
[http://yk1107.ec51.com power tools]
[http://sunwayltd.ec51.com plastic]
[http://linksino.ec51.com LS brand products ]
[http://shichangzhou.ec51.com wooden easel]
[http://huangzx.ec51.com reflective vest]
[http://checkout.ec51.com Luggage]
[http://Johnyuan.ec51.com sport shoe]
[http://crystal8098.ec51.com MCB&RCCB]
[http://alex.ec51.com Bedspread]
[http://risinginstru.ec51.com pressure gauge]
[http://www.ec51.cn/newsweb 网站推广]
[http://www.ec51.cn/newsweb/gr 网站排名]
[http://www.ec51.cn/newsweb/sr google排名]
[http://www.ec51.cn/newsweb/dzsw 搜索引擎推广]
[http://tomshi.ec51.com 进出口]
[http://binoculars.ec51.net/ 望远镜]
[http://binoculars.ec51.net/ 高倍望远镜]
[http://mailsys.ec51.net/ 邮件系统]
[http://mailsys.ec51.net/newsweb/dzsw 企业邮局]
[http://mailsys.ec51.net/newsweb/gr 校园网]
[http://mailsys.ec51.net/newsweb/ 电子政务]
[http://dart.freewebpage.org dartboard]
[http://stationary.ec51.net 文具]
[http://lighting.ec51.net 灯饰,灯具]
[http://ec.ec51.net 二级管,三极管]
[http://louder.ec51.net 扬声器]
[http://crafts.ec51.net 工艺品]
[http://switch.ec51.net 开关]
[http://charger.ec51.net 电池]
[http://generator.ec51.net 发电机]
[http://wire.ec51.net 电线、电缆]
[http://ic.ec51.net 集成电路]
[http://capacitor.ec51.net 电容器]
[http://transformer.ec51.net 变压器]
[http://linker.ec51.net 连接器]
[http://sensor.ec51.net 传感器]
[http://accumulator.ec51.net 蓄电池]
[http://of.ec51.net 办公家具]
[http://dishware.ec51.net 餐具]
[http://con.ec51.net 建材]
[http://leather.ec51.net 皮革]
[http://sports.ec51.net 体育用品]
[http://camera.ec51.net 数码相机]
[http://dyb.freewebpage.org 注册公司]
[http://www.ec61.com 虚拟主机]
[http://www.ec31.com 网站推广]
[http://wiki.ec51.org EC51 wiki]
[http://shop.ec51.net 网上购物]
[http://mall.ec51.net 网上商城]
[http://buy.ec51.net 网上拍卖]
[http://shop.ec51.net 易趣购物]
[http://mall.ec51.net 易趣商城]
[http://buy.ec51.net 易趣拍卖]
[http://www.kuangye.net 传奇私服]
[http://www.kuangye.net 传奇世界私服]
[http://www.kuangye.net 传奇私服论坛]
[http://www.kuangye.net 传奇私服登陆器]
[http://travel.ec51.net 张家界旅游]
[http://www.ec51.com/google.htm google排名]
[http://www.ec51.net 供求信息]
[http://www.beautysilk.net artificial flower]
[http://www.beautysilk.net silk flower]
New in version 2.1.

The '''pydoc''' module automatically generates documentation from Python modules. The documentation can be presented as pages of text on the console, served to a Web browser, or saved to HTML files.

The built-in function {{{help()}}} invokes the online help system in the interactive interpreter, which uses '''pydoc''' to generate its documentation as text on the console. The same text documentation can also be viewed from outside the Python interpreter by running '''pydoc''' as a script at the operating system's command prompt. For example, running


{{{pydoc sys}}}

at a shell prompt will display documentation on the '''sys''' module, in a style similar to the manual pages shown by the Unix {{{man}}} command. The argument to '''pydoc''' can be the name of a function, module, or package, or a dotted reference to a class, method, or function within a module or module in a package. If the argument to '''pydoc''' looks like a path (that is, it contains the path separator for your operating system, such as a slash in Unix), and refers to an existing Python source file, then documentation is produced for that file.

Specifying a {{{-w}}} flag before the argument will cause HTML documentation to be written out to a file in the current directory, instead of displaying text on the console.

Specifying a {{{-k}}} flag before the argument will search the synopsis lines of all available modules for the keyword given as the argument, again in a manner similar to the Unix {{{man}}} command. The synopsis line of a module is the first line of its documentation string.

You can also use '''pydoc''' to start an HTTP server on the local machine that will serve documentation to visiting Web browsers. {{{pydoc -p 1234}}} will start a HTTP server on port 1234, allowing you to browse the documentation at http://localhost:1234/ in your preferred Web browser. {{{pydoc -g}}} will start the server and additionally bring up a small Tkinter-based graphical interface to help you search for documentation pages.

When pydoc generates documentation, it uses the current environment and path to locate modules. Thus, invoking pydoc spam documents precisely the version of the module you would get if you started the Python interpreter and typed "import spam".
----
CategoryDocumentation

[:../:Miscellaneous Services]

pydoc

New in version 2.1.

The pydoc module automatically generates documentation from Python modules. The documentation can be presented as pages of text on the console, served to a Web browser, or saved to HTML files.

The built-in function help() invokes the online help system in the interactive interpreter, which uses pydoc to generate its documentation as text on the console. The same text documentation can also be viewed from outside the Python interpreter by running pydoc as a script at the operating system's command prompt. For example, running

pydoc sys

at a shell prompt will display documentation on the sys module, in a style similar to the manual pages shown by the Unix man command. The argument to pydoc can be the name of a function, module, or package, or a dotted reference to a class, method, or function within a module or module in a package. If the argument to pydoc looks like a path (that is, it contains the path separator for your operating system, such as a slash in Unix), and refers to an existing Python source file, then documentation is produced for that file.

Specifying a -w flag before the argument will cause HTML documentation to be written out to a file in the current directory, instead of displaying text on the console.

Specifying a -k flag before the argument will search the synopsis lines of all available modules for the keyword given as the argument, again in a manner similar to the Unix man command. The synopsis line of a module is the first line of its documentation string.

You can also use pydoc to start an HTTP server on the local machine that will serve documentation to visiting Web browsers. pydoc -p 1234 will start a HTTP server on port 1234, allowing you to browse the documentation at http://localhost:1234/ in your preferred Web browser. pydoc -g will start the server and additionally bring up a small Tkinter-based graphical interface to help you search for documentation pages.

When pydoc generates documentation, it uses the current environment and path to locate modules. Thus, invoking pydoc spam documents precisely the version of the module you would get if you started the Python interpreter and typed "import spam".


CategoryDocumentation

PythonLibraryReference/MiscellaneousServices/PydocModule (last edited 2008-11-15 14:00:03 by localhost)

Unable to edit the page? See the FrontPage for instructions.