Uncategorized

Instructions/Code to create a python app with bundled data file that’s read and printed.


I need the instructions and code to use pyinstaller & pyi-makespec to create a onefile python application (.exe on Windows) that has a bundled data file that is read and printed by the app.

Assuming an app with the following directory structure:

my-app/

my-app/src/[login to view URL]

my-app/data/[login to view URL]

I need someone to provide the instructions and code to do the following:

1. Use pyi-makespec to create the spec file that defines the app as onefile and having the data file.

2. Use pyinstaller to create the Windows exe from the spec file. (There should be only one file in the dist directory.)

3. Update the python app to use pkgutil.get_data() to retrieve and print (as a string) the [login to view URL] file


Python


Software Architecture

Project ID: #37576754

About the project





12 proposals






Open for bidding





Remote project





Active 2 mins ago





Source link

Leave a Reply

Your email address will not be published. Required fields are marked *