pyinstaller check python version code example
Example 1: pyinstaller exe version info
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(1, 9, 7, 30920),
prodvers=(1, 9, 7, 30920),
mask=0x3f,
flags=0x0,
OS=0x4,
fileType=0x1,
subtype=0x0,
date=(0, 0)
),
kids=[
StringFileInfo(
[
StringTable(
u'040904B0',
[StringStruct(u'CompanyName', u'Apache Software Foundation'),
StringStruct(u'FileDescription', u'svn'),
StringStruct(u'FileVersion', u'1.9.7'),
StringStruct(u'InternalName', u'SVN'),
StringStruct(u'LegalCopyright', u'Copyright (c) The Apache Software Foundation'),
StringStruct(u'OriginalFilename', u'svn.exe'),
StringStruct(u'ProductName', u'Subversion'),
StringStruct(u'ProductVersion', u'1.9.7 (r1800392)')])
]),
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
]
)
Example 2: pyinstaller location windows
two possible locations
1. C:\Program Files\Python39\Scripts
2. C:\Users\USER**\AppData\Roaming\Python\Python39\Scripts