Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/d/a/datahaven-rev8661/datahaven/lib/misc.py   datahaven(Download)
        from win32com.client import Dispatch
        shell = Dispatch('WScript.Shell')
        desktop = shell.SpecialFolders(folder)
        return os.path.join(desktop, filename)
    except:
            from win32com.client import Dispatch
            shell = Dispatch('WScript.Shell')
            desktop = shell.SpecialFolders(folder)
            path = os.path.join(desktop, filename)
            shortcut = shell.CreateShortCut(path)

src/c/u/Cura-HEAD/Cura/util/pymclevel/mclevelbase.py   Cura(Download)
        import win32com.client
        objShell = win32com.client.Dispatch("WScript.Shell")
        return objShell.SpecialFolders("AppData")
    except Exception, e:
        #print "Error while getting AppData folder using WScript.Shell.SpecialFolders: {0!r}".format(e)

src/m/c/mc4p-HEAD/mc4p/authentication.py   mc4p(Download)
                import win32com.client
                objShell = win32com.client.Dispatch("WScript.Shell")
                appDataDir = objShell.SpecialFolders("AppData")
            except:
                try:

src/m/i/minecraft.print-HEAD/pymclevel/mclevelbase.py   minecraft.print(Download)
        import win32com.client
        objShell = win32com.client.Dispatch("WScript.Shell")
        return objShell.SpecialFolders("AppData")
    except Exception, e:
        print "Error while getting AppData folder using WScript.Shell.SpecialFolders: {0!r}".format(e)

src/p/y/pymclevel-HEAD/mclevelbase.py   pymclevel(Download)
        import win32com.client
        objShell = win32com.client.Dispatch("WScript.Shell")
        appDataDir = objShell.SpecialFolders("AppData")
    except Exception, e:
        print "Error while getting AppData folder using WScript.Shell.SpecialFolders: {0!r}".format(e)

src/m/c/mcedit-HEAD/mcplatform.py   mcedit(Download)
        try:
            objShell = win32com.client.Dispatch("WScript.Shell")
            docsFolder = objShell.SpecialFolders("MyDocuments")
 
        except Exception, e: