twisted.python.shortcut.Shortcut
class documentationtwisted.python.shortcut
View Source
(View In Hierarchy)
A shortcut on Win32. >>> sc=Shortcut(path, arguments, description, workingdir, iconpath, iconidx)
Parameters | path | Location of the target |
arguments | If path points to an executable, optional arguments to pass | |
description | Human-readable description of target | |
workingdir | Directory from which target is launched | |
iconpath | Filename that contains an icon for the shortcut | |
iconidx | If iconpath is set, optional index of the icon desired |
Method | __init__ | Undocumented |
Method | load | Read a shortcut file from disk. |
Method | save | Write the shortcut to disk. |
Method | __getattr__ | Undocumented |
Write the shortcut to disk.
The file should be named something.lnk.