exe

15 Python scripts into one executable?

只谈情不闲聊 提交于 2019-11-29 07:22:33
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 problem as I see it is that 1 python script calls the other 14 python scripts for various tasks. So what I

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

…衆ロ難τιáo~ 提交于 2019-11-29 04:59:42
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. 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

Hide the console of an .exe file created with PyInstaller

a 夏天 提交于 2019-11-29 02:54:21
问题 I want to make my program executable. I used TkInter to write the GUI, and I read somewhere that you have to save your file as .pyw to hide the console when the program is executed. The problem is that after making it an executable with PyInstaller, the console shows up again, even though the file converted was .pyw. How can I hide the console also in the .exe file? 回答1: Did you try --windowed command line flag ? 回答2: What are you using to make the executable? If you use py2exe and you use:

Delphi EXE compressor? [closed]

拟墨画扇 提交于 2019-11-29 02:32:54
At one point I had a nice little compression utility that smashed my Delphi compiled EXE's to a smaller download size, but now I can't find it. Any recommendations? Also, are there any downsides to using these kinds of utilities? (I mainly use them to shorten download times for rural / dial-up users). Related question: Are there any downsides to using UPX to compress a Windows executable? Years ago I looked into compressing my executable to make the download smaller. What I ended up doing, and what I recommend for you, is to use an installer program like Inno Setup instead. Not only does it

Make Java program as independent exe (run without JVM)

三世轮回 提交于 2019-11-29 01:46:09
Is there any way to make Java program as independent exe (run without JVM)? I've used Excelsior JET to compile my Java into a native executable file on Windows. It worked real well. There are always opportunities for gotchas - I think JNI is a problem - but I was pretty happy. http://gcc.gnu.org/java : GCJ is a portable, optimizing, ahead-of-time compiler for the Java Programming Language. It can compile Java source code to Java bytecode (class files) or directly to native machine code, and Java bytecode to native machine code. Compiled applications are linked with the GCJ runtime, libgcj,

How can I create a Windows .exe (standalone executable) using Java/Eclipse?

梦想的初衷 提交于 2019-11-28 22:44:03
问题 I'm new to the programming scene. Been working with C++ for about 5 months now, and have decided I want to start getting into Java. I'm using Eclipse as my IDE, and obviously Java for the language. I'm trying to write a simple HelloWorld application, which can be run through a command prompt executable. In Visual Studio, it seems it's rather easy to create an executable. All I've ever had to do is use a pull down arrow and choose Release, and then run my build. The purpose of wanting to be

Finding my main executable's path using Assembly vs AppDomain

感情迁移 提交于 2019-11-28 20:23:35
I'm a .NET user, and my goal is as simple as finding the absolute path of the directory of my main executing assembly (the EXE file). I have several candidates: Assembly.GetExecutingAssembly().CodeBase Assembly.GetExecutingAssembly().Location AppDomain.CurrentDomain.BaseDirectory If to judge by the .NET documentation - I'm leaning towards CodeBase . Can anyone shed light over all three in a bit more specific terms than the .NET documentation? An example to demonstrate the difference perhaps? Sorin Comanescu I would use GetEntryAssembly() instead of GetExecutingAssembly() . To see why, do this:

The program can't start because cygwin1.dll is missing… in Eclipse CDT

天涯浪子 提交于 2019-11-28 19:42:11
问题 I've had Eclipse for Java on my computer for a few years, and decided to install the CDT and learn C. I installed both MinGW and Cygwin and the CDT detects and tries to use them when I make a new project. I choose File > New C++ Project and choose Hello World C++ Project and the CygwinGCC toolchain. I name the project "asdf" and hit "Build Debug" in the toolbar. The compiler completes without error. I hit Run and nothing happens. Browsing to the project directory manually and running asdf.exe

How to change an executable's properties? (Windows)

那年仲夏 提交于 2019-11-28 18:42:48
When I create a .exe, I can right click it and go to properties->details. Then I get a list like: File Description | Type | Application File Version | Product Name | Product Version | Copyright | Size | 18.0 KB Date Modified | 6/16/2009 8:23 PM Language | How do I change these properties? (And on a side note, is there a way to change the icon?) If you are using C/Win32 you can add something like this to your project encapsulated in a *.rc (resource) file: VS_VERSION_INFO VERSIONINFO FILEVERSION 0,0,0,2 PRODUCTVERSION 0,0,0,2 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L #else FILEFLAGS 0x0L

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

泄露秘密 提交于 2019-11-28 18:25:05
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: that after execution of pyinstaller.py script, with all arguments, I must see in the /dist folder: the