相关疑难解决方法(0)

Windows 7 - 来自cmd的pydoc

好吧,我有其中一个让我质疑我使用电脑的能力.这不是我想象的那个问题,而是我的第一篇SO帖子,但是这里就是这样.

开始于Zed的新"学习Python艰难的方式",因为我一直希望在10年的间歇后回到编程中,而python总是我想要的.这本书真的跟我说过.话虽这么说,我从命令中遇到了严重的pydoc问题.我在我的系统路径中有c:/ python26中的所有目录,我可以从命令行执行pydoc,无论pwd如何 - 但它不接受任何参数.无论我输入什么,我只是得到标准的pydoc输出告诉我可接受的参数.

有任何想法吗?为了它的价值,我按照Zed的建议安装了ActivePython.

C:\Users\Chevee>pydoc file
pydoc - the Python documentation tool

pydoc.py <name> ...
    Show text documentation on something.  <name> may be the name of a
    Python keyword, topic, function, module, or package, or a dotted
    reference to a class or function within a module or module in a
    package.  If <name> contains a '\', it is used as the path to a
    Python source file to document. If name is 'keywords', 'topics',
    or 'modules', a listing …
Run Code Online (Sandbox Code Playgroud)

python

3
推荐指数
1
解决办法
8515
查看次数

标签 统计

python ×1