Như trên windows thì mình hay dùng py2exe để build, nhưng bên linux thì dùng gì nhỉ?
Làm sao để build file thực thi python trên Linux?
1 Like
Em cũng hay dùng pyinstaller
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?