Creating Version file From python code

PHOTO EMBED

Thu Mar 31 2022 14:11:35 GMT+0000 (Coordinated Universal Time)

Saved by @irfan309 #python #tkinter #pyinstaller #onefile #noconsole #icon #versionfile #exe #version_file_creation

import pyinstaller_versionfile

pyinstaller_versionfile.create_versionfile(
    output_file="test_versionfile.txt",
    version="1.0",
    company_name="somecompany pvt ltd",
    file_description="This is lms for desktop from some industry",
    internal_name="App",
    legal_copyright="© some companry pvt ltd. All rights reserved.",
    original_filename="Uls.exe",
    product_name="uls_lms"
)
content_copyCOPY