题
Visual Studio不存在于我的工作地点,我正在使用Notepad ++进行开发。我知道MSDN,但是我想从python中浏览命令行的文档。
在Python中,您可以浏览模块或功能的文档,也可以像这样:
$ pydoc raw_input
给予
Help on built-in function raw_input in module __builtin__:
raw_input(...)
raw_input([prompt]) -> string
Read a string from standard input. The trailing newline is stripped.
If the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.
On Unix, GNU readline is used if enabled. The prompt string, if given,
is printed without a trailing newline before reading.
我想找出C#是否有类似的东西,我可以在其中进行以下操作:
$ doc ReadLine
我在Console.Readline方法上获得了一些帮助。
有没有办法做到这一点?
解决方案
MSDN内容没有命令行/控制台帮助查看器。
您可以获得的最接近(我知道)是 包装 将下载MSDN内容并从中制作CHM的项目。
不隶属于 StackOverflow