How can I create an executable with an executable inside?
I want to make an executable with VNC windows client insid开发者_JAVA百科e, and when the app is executed, it prompts something, a message or something, and then opens the VNC client and closes itself, leaving only the VNC open...
How can I do that?
If you wish to download a single file but have various files (applications, or whatever) in it, you better use an installation package.
If you're going to deliver a Python application (as per your tag) along with executable files, you might want to take a look at these:
- setuptools
- pip
What you want to do is invoke a process [for the VNC windows client] from your application, not embed an executable within another (which doesn't make sense, by the way.)
For more information on how to do this, see Subprocess Management in the Python documentation.
精彩评论