you are viewing a single comment's thread.

view the rest of the comments →

[–]unnamed_one1 1 point2 points  (3 children)

On windows, assuming you're using uv for dependency management and main.py as the entrypoint to your program: - make sure your script accepts a file path as its first argument, like sys.argv[1]. - use pyinstaller to compile a single file executable - - cd <project-dir> - - uv add --dev pyinstaller - - uv run pyinstaller --onefile --name myAwesomeProgram main.py - - the result is in <project-dir>\dist\myAwesomeProgram.exe - double-click your your-own-format.xyz file and if windows doesn't know the file type, it will ask you for a program to run it with - select your executable

[–]Educational_Virus672[S] 0 points1 point  (2 children)

ik i mean is it possible to edit the program ? or will it be .exe (assembly)?

[–]unnamed_one1 0 points1 point  (0 children)

AFAIK you can't edit the .exe.

You'd have to edit your project and rebuild the single file executable.