If you type:
>>> import os; help(os)

Then you see the following (see below). But I don't understand where
the line
"MODULE DOCS
    http://www.python.org/doc/current/lib/module-os.html
"

is encoded in os.py anywhere. If you search for the words
'module-os.html' you find
nothing. Ditto for 'MODULE DOCS'


--- output follows ---

Help on module os:

NAME
    os - OS routines for Mac, DOS, NT, or Posix depending on what
system we're o
n.

FILE
    /usr/lib/python2.4/os.py

MODULE DOCS
    http://www.python.org/doc/current/lib/module-os.html

DESCRIPTION
    This exports:
      - all functions from posix, nt, os2, mac, or ce, e.g. unlink,
stat, etc.
      - os.path is one of the modules posixpath, ntpath, or macpath
      - os.name is 'posix', 'nt', 'os2', 'mac', 'ce' or 'riscos'
      - os.curdir is a string representing the current directory ('.'
or ':')
      - os.pardir is a string representing the parent directory ('..'
or '::')

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to