[Idle-dev] [ idlefork-Patches-467728 ] Referencing additional documentation

by way of Stephen M. Gava <elguavas@users.sourceforge.net> noreply@sourceforge.net
Mon, 8 Oct 2001 12:13:43 +1000


Patches item #467728, was opened at 2001-10-03 20:19
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=309579&aid=467728&group_id=9
579

Category: None
Group: None

>Status: Closed
>Resolution: Rejected

Priority: 5
Submitted By: Bruce Sherwood (bsherwood)

>Assigned to: Stephen M. Gava (elguavas)

Summary: Referencing additional documentation

Initial Comment:
Here is a small change to EditorWindow which means
that if VPython is installed, pressing F1 invokes
Doc\VPython.html, which gives you VPython
documentation, Numeric documentation, and the usual
Python documentation. If VPython.html is not
installed, Doc\index.html is invoked, which just gives
you Python documentation (VPython.html has a link to
index.html). VPython users need the additional
documentation. For info on the nature of VPython, see

http://cil.andrew.cmu.edu/projects/visual

My goal is that in the future all VPython
distributions include the idlefork version of idle,
rather than the older version originally due to Dave
Scherer, from which idlefork development started.

    if sys.platform[:3] == "win":
        fn0 = os.path.dirname(__file__)
        fn = os.path.join(fn0, os.pardir,
os.pardir, "Doc", "VPython.html")
        fn = os.path.normpath(fn)
        if os.path.isfile(fn):
            help_url = fn
        else:
            fn = os.path.join(fn0, os.pardir,
os.pardir, "Doc", "index.html")
            fn = os.path.normpath(fn)
            if os.path.isfile(fn):
                help_url = fn
        del fn0
        del fn


----------------------------------------------------------------------

>Comment By: Stephen M. Gava (elguavas)

Date: 2001-10-07 19:09

Message:
Logged In: YES
user_id=75867

the vpython folks will implement a simpler scheme for
accessing their help from idle which doesn't involve source
changes

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=309579&aid=467728&group_id=9
579