Làm sao để build file thực thi python trên Linux?

Như trên windows thì mình hay dùng py2exe để build, nhưng bên linux thì dùng gì nhỉ?

1 Like

Dùng cái này nè bác…hỗ trợ hết: http://www.pyinstaller.org
How to use

3 Likes

Em cũng hay dùng pyinstaller :smile: dùng được cả trên windows và linux

$ sudo pip install pyinstaller
$ pyinstaller --onefile --windowed --icon=path\to\icon.ico path\to\main.py
3 Likes
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?