tkinter/py2app created application doesn't sho

2019-03-29 13:53发布

I'm running into an issue where launching a python app created with Tkinter and packaged by py2app doesn't show the application window immediately. The only way I've gotten the window to show after launch is to click on the application icon in the dock.

This guy is using an applescript to auto-click the app on launch but as he states, and I agree, it isn't ideal.

1条回答
对你真心纯属浪费
2楼-- · 2019-03-29 14:16

After doing some extensive research, it would appear that this is a result of setting the 'argv_emulation' option to True in the, py2app, setup.py file.

查看更多
登录 后发表回答