Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/win32/Demos/getfilever.py   main(Download)
    'FileVersion','OriginalFilename','SpecialBuild')
fname = os.environ["comspec"]
d=win32api.GetFileVersionInfo(fname, '\\')
## backslash as parm returns dictionary of numeric info corresponding to VS_FIXEDFILEINFO struc
for n, v in d.iteritems():
    print n, v
 
pairs=win32api.GetFileVersionInfo(fname, '\\VarFileInfo\\Translation')
        str_info=u'\\StringFileInfo\\%04X%04X\\%s' %(lang,codepage,ver_string)
        ## print str_info
        print ver_string, repr(win32api.GetFileVersionInfo(fname, str_info))
 

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/win32/Demos/getfilever.py   TrustRouter(Download)
    'FileVersion','OriginalFilename','SpecialBuild')
fname = os.environ["comspec"]
d=win32api.GetFileVersionInfo(fname, '\\')
## backslash as parm returns dictionary of numeric info corresponding to VS_FIXEDFILEINFO struc
for n, v in d.items():
    print(n, v)
 
pairs=win32api.GetFileVersionInfo(fname, '\\VarFileInfo\\Translation')
        str_info='\\StringFileInfo\\%04X%04X\\%s' %(lang,codepage,ver_string)
        ## print str_info
        print(ver_string, repr(win32api.GetFileVersionInfo(fname, str_info)))
 

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/win32/Demos/getfilever.py   SublimeSpeech(Download)
    'FileVersion','OriginalFilename','SpecialBuild')
fname = os.environ["comspec"]
d=win32api.GetFileVersionInfo(fname, '\\')
## backslash as parm returns dictionary of numeric info corresponding to VS_FIXEDFILEINFO struc
for n, v in d.iteritems():
    print n, v
 
pairs=win32api.GetFileVersionInfo(fname, '\\VarFileInfo\\Translation')
        str_info=u'\\StringFileInfo\\%04X%04X\\%s' %(lang,codepage,ver_string)
        ## print str_info
        print ver_string, repr(win32api.GetFileVersionInfo(fname, str_info))
 

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/win32/Demos/getfilever.py   SublimeSpeech(Download)
    'FileVersion','OriginalFilename','SpecialBuild')
fname = os.environ["comspec"]
d=win32api.GetFileVersionInfo(fname, '\\')
## backslash as parm returns dictionary of numeric info corresponding to VS_FIXEDFILEINFO struc
for n, v in d.iteritems():
    print n, v
 
pairs=win32api.GetFileVersionInfo(fname, '\\VarFileInfo\\Translation')
        str_info=u'\\StringFileInfo\\%04X%04X\\%s' %(lang,codepage,ver_string)
        ## print str_info
        print ver_string, repr(win32api.GetFileVersionInfo(fname, str_info))
 

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/win32/Demos/getfilever.py   einstein(Download)
    'FileVersion','OriginalFilename','SpecialBuild')
fname = os.environ["comspec"]
d=win32api.GetFileVersionInfo(fname, '\\')
## backslash as parm returns dictionary of numeric info corresponding to VS_FIXEDFILEINFO struc
for n, v in d.iteritems():
    print n, v
 
pairs=win32api.GetFileVersionInfo(fname, '\\VarFileInfo\\Translation')
        str_info=u'\\StringFileInfo\\%04X%04X\\%s' %(lang,codepage,ver_string)
        ## print str_info
        print ver_string, repr(win32api.GetFileVersionInfo(fname, str_info))
 

src/w/r/wrye-bash-HEAD/Mopy/bash/bolt.py   wrye-bash(Download)
    def version(self):
        """File version (exe/dll) embeded in the file properties (windows only)."""
        try:
            import win32api
            info = win32api.GetFileVersionInfo(self._s,u'\\')

src/w/r/wrye-bash-HEAD/Mopy/bash/belt.py   wrye-bash(Download)
    def _TestVersion(self, need, file):
        if file.exists():
            info = win32api.GetFileVersionInfo(file.s, u'\\')
            ms = info['FileVersionMS']
            ls = info['FileVersionLS']

src/g/a/garybash-HEAD/Mopy/bash/bolt.py   garybash(Download)
    def version(self):
        """File version (exe/dll) embeded in the file properties (windows only)."""
        try:
            import win32api
            info = win32api.GetFileVersionInfo(self.s,u'\\')

src/g/a/garybash-HEAD/Mopy/bash/belt.py   garybash(Download)
    def _TestVersion(self, need, file):
        if file.exists():
            info = win32api.GetFileVersionInfo(file.s, '\\')
            ms = info['FileVersionMS']
            ls = info['FileVersionLS']

src/i/n/innosetup-0.6.9/innosetup/innosetup.py   innosetup(Download)
    def isSystemDLL(pathname):
        if build_exe._isSystemDLL(pathname):
            return True
        try:
            language = win32api.GetFileVersionInfo(pathname,
                '\\VarFileInfo\\Translation')
            company = win32api.GetFileVersionInfo(pathname,

  1 | 2  Next