exe

15 Python scripts into one executable?

梦想与她 提交于 2019-12-18 04:59:11
问题 Ive been tinkering around all day with solutions from here and here: How would I combine multiple .py files into one .exe with Py2Exe Packaging multiple scripts in PyInstaller but Its not quite working the way I thought it might. I have a program that Ive been working on for the last 6 months and I just sourced out one of its features to another developer who did his work in Python. What I would like to do is use his scripts without making the user have to download and install python. The

Easiest way to compile a lua script (*.exe)…?

坚强是说给别人听的谎言 提交于 2019-12-18 04:20:54
问题 I just made a small program and I'd like to share it with my friends and family. Which is the best, the fastest and the easiest way to compile a Lua script? I'm working on Windows, so I would need a *.exe. Thanks in advance. 回答1: If you want to turn our Lua script into a .exe, try srlua. 来源: https://stackoverflow.com/questions/18897314/easiest-way-to-compile-a-lua-script-exe

Embedded a *.exe into a dll

人走茶凉 提交于 2019-12-18 03:41:33
问题 does somebody know how can I embedd an exe file into a dll ? I have a tool which is an exe file that I call from c# code. The thing is that I want to have 1 dll containing this tool (exe file) and the dll containg my c# code. Is it possible to embedd this exe file within the resources? Thx in advance 回答1: Sure it is. You can add any file as RC_DATA in application as resource. But I believe you will need to extract it to disk first before calling it! Which IDE/Language you are using? [EDIT]

Embedded a *.exe into a dll

喜你入骨 提交于 2019-12-18 03:41:30
问题 does somebody know how can I embedd an exe file into a dll ? I have a tool which is an exe file that I call from c# code. The thing is that I want to have 1 dll containing this tool (exe file) and the dll containg my c# code. Is it possible to embedd this exe file within the resources? Thx in advance 回答1: Sure it is. You can add any file as RC_DATA in application as resource. But I believe you will need to extract it to disk first before calling it! Which IDE/Language you are using? [EDIT]

Embed icon in python script

最后都变了- 提交于 2019-12-18 00:49:23
问题 Does anybody know a way to embed an icon in a Python script such that when I create my standalone executable (using pyinstaller) I don't need to include the .ico file? I know this is possible with py2exe, but in my case I have to use Pyinstaller, as I was not successful using the former. I am using Tkinter. I know about iconbitmap(iconName.ico) but that doesn't work if I wanna make a onefile executable. 回答1: Actually the function iconbitmap can only receive a filename as argument, so there

Pyinstaller: generate -exe file + folder (in --onefile mode)

前提是你 提交于 2019-12-17 22:20:14
问题 Now i'm working with Pyinstaller. I have an script which get images from a img folder.. /python |----/img |----|----icon1.ico |----|----icon2.ico |----maint.py My script to generate .exe is pyinstaller.py --windowed --noconsole --clean --onefile maint.py the problem is that only generate the .exe file but the whole folder /img is omitted. Question: which aditional syntax do I need to put in the previous line in order to get automatically the .exe file + /img folder? Update 12/18/2013 I mean:

EXE Size is too big in Delphi XE2

雨燕双飞 提交于 2019-12-17 20:24:46
问题 I have created a simple project in Delphi XE2 with only 3 or 4 delphi forms which are only 8 or 9 KB in size. But If I see the exe size, its 12MB. I don't know how? What could be the reasons? 回答1: You're using the default Debug build configuration, which includes debug information in the exe. You normally change the build configuration to release in order to produce a smaller exe for distribution, at the expense to lose the ability to debug it within the Delphi IDE (step by step). Take a look

C# : Making an exe to not run directly

强颜欢笑 提交于 2019-12-17 19:57:23
问题 I need to make the primary .exe unrunnable from it (When you try to start it directly ,you get a message : Cannot start directly,if it runs from the secondary exe (only it,must have a crc verification i think) then start . Hope i make myself clear First .exe can't start directly Second .exe can start the first exe (only) 回答1: Set up the EXE that can't be started directly to accept a parameter, such as a SHA-256 hash of some unique data from the one that's supposed to start it. If that

Reduce exe file

馋奶兔 提交于 2019-12-17 17:32:13
问题 Using Delphi (or in general any tools, if exist of course), is it possible to reduce size of an exe file, removing all code that not is used but that is present there? (for example, a function or procedure that is present but is never called). I remember that with Pascal, using unit (without objects) the compiler includes only procedures and functions that are really used and will strip out non-used routines in a unit from the final exe. With Object-pascal, I remember that in Delphi 1 all

Encryption for Executable

房东的猫 提交于 2019-12-17 16:23:32
问题 Can anyone recommend what's a good way to encrypt an executable? I was trying to use AxCrypt but I don't like the usage, i.e. you specify a passcode and the person who launches the exe needs to specify the passcode. Is there someway to encrypt it once and users just run the exe without specifying any passwords? 回答1: It's basically pointless. If it's a .NET or Java program, obfuscators can improve performance and decrease the executable size and make it difficult to reverse engineer. Packers