T
T
tarp202020-06-06 14:54:20
Python
tarp20, 2020-06-06 14:54:20

How to reduce the size of a python application?

I put together a simple app with py2app and it's 11.1 MB, while via Platypus it's 512 KB.

Why such a difference? And how to make more compact applications?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
ScriptKiddo, 2020-06-06
@tarp20

why such a difference?

The assembly includes the interpreter itself.
and how to make more compact applications??

You can refer to this answer https://stackoverflow.com/a/3985633
Or choose another PL.

E
Elvis, 2020-06-06
@Dr_Elvis

Platypus does not carry python with him, if not set up separately. Therefore, the size is smaller. But such a program cannot be run on a computer where python is not installed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question