คือว่าผม Compile โปรแกรม python ที่ผมเขียนด้วย PyInstaller ให้เป็น exe แต่ทุกครั้งที่ได้ exe มาเมื่อ ใช้งาน ก็จะมีการเปิด ms dos มาด้วยครับ ผมอยากจะให้ไม่ ต้องเปิด ms dos อะคับ ไม่ทราบว่าต้อง config ตรงไหนเพิ่มคับ
ใช้คำสั่ง python Makespec.py -h แล้วจะพบท่อนหนึ่งว่า
Windows specific options: -c, --console, --nowindowed use a console subsystem executable (Windows only) (default) -w, --windowed, --noconsole use a Windows subsystem executable (Windows only)
ดังนั้นให้ใส่ -w ด้วยครับเวลา Makespec
ทำได้เรียบร้อยแล้วครับ ขอบคุณ คุณ cwt มากครับ
ใช้คำสั่ง python Makespec.py -h แล้วจะพบท่อนหนึ่งว่า
ดังนั้นให้ใส่ -w ด้วยครับเวลา Makespec
ทำได้เรียบร้อยแล้วครับ ขอบคุณ คุณ cwt มากครับ