executable

What technologies exist to create stand alone executables for Python 3?

穿精又带淫゛_ 提交于 2020-01-03 10:45:11
问题 Other than cx_Freeze, are there any other current maintained tool suites to generate stand alone executables for Python 3k? Are there any other techniques for minimizing preinstallation requirements under Windows? 回答1: There doesn't seem to be another choice of tool at the moment. There's nothing stopping you from including a prebuilt Python environment in your package/installer and either creating an appropriate shortcut to launch the Python app, or creating a separate executable that

IDA Pro and editing executables

别等时光非礼了梦想. 提交于 2020-01-02 04:24:10
问题 This is kind of an unorthodox question. I'm kinda new to using IDA Pro. Is there a way to edit the assembly code and then have IDA save the result as an executable? Is there some kind of plugin maybe that does that? because it seems that IDA doesn't want to save as an EXE. Or do I need to manually edit it in some other way? 回答1: Version 6.1+ (maybe 6.2+) of IDA Pro will allow you to apply your patches directly to the input file. Equally, it allows you to revert the changes back. 回答2: I've

How to make Ruby file run as executable?

牧云@^-^@ 提交于 2020-01-01 09:42:43
问题 I want my Ruby Script File to run as executable from any directory of Windows XP. I have created a test.rb (Ruby Script file) and want to run it from any directory of my Windows as "test" for example, "C:\test" or "C:\Directory\test" runs my file test.rb. #!/usr/bin/envy ruby p "Hi this is my test file" I have added the shebang code in my ruby file but when I have to run the Ruby Script, I have to locate my Script file and run it expicitly as "ruby test.rb". I have also made the file

CMake linking problem

我怕爱的太早我们不能终老 提交于 2020-01-01 05:21:10
问题 I am trying to use CMake to compile a C++ application that uses the C library GStreamer. My main.cpp file looks like this: extern "C" { #include <gst/gst.h> #include <glib.h> } int main(int argc, char* argv[]) { GMainLoop *loop; GstElement *pipeline, *source, *demuxer, *decoder, *conv, *sink; GstBus *bus; /* Initialisation */ gst_init (&argc, &argv); return 0; } This works: g++ -Wall $(pkg-config --cflags --libs gstreamer-0.10) main.cpp -o MPEG4GStreamer How to I make it with CMake? My

Getting the program version of an executable file like explorer does in C# .NET 2 [duplicate]

五迷三道 提交于 2019-12-31 05:15:13
问题 This question already has an answer here : FileVersionInfo doesn't match Details tab in Explorer (1 answer) Closed last year . if I make a right-click in explorer on an executable file and choose "properties". then in the properties dialog I select the tab "version". Then I click on the productversion. This is the value which I need to get with c#. I tried it with "fileversioninfo.productversion", but if I get in the explorer "1.85" the fileversioninfo returns me weird values like: 1,00000,8

dll load errors in python executable made from pywin32

别等时光非礼了梦想. 提交于 2019-12-31 02:50:15
问题 I created python executables with py2exe with both 64bit python interpreter and 32 bit python interpreter. In my program, I use the module pywin32 com , and so I dl'ed and installed both the 64bit and 32bit versions of the program prior to creating the executable. The 64bit exe works fine, but the 32 bit one has the following problem: Traceback (most recent call last): File "program.py", line 11, in <module> File "win32com\__init__.pyc", line 5, in <module> File "win32api.pyc", line 12, in

Pack program *and* dynamically loaded files into single executable? (python + pygame, or language agnostic)

拥有回忆 提交于 2019-12-30 14:41:05
问题 There are plenty of great answers to questions about making a standalone executable, but I can't figure out how to pack art assets (or dynamically loaded files) into it as well. Why would I want to do this? Because it would be great to distribute a simple (throw away) game that lives entirely in a single executable with no installer. As far as I can tell from searching, there are two basic approaches. 1) Avoid art assets in favor of content generation. I could have a program that turns a

Pack program *and* dynamically loaded files into single executable? (python + pygame, or language agnostic)

旧城冷巷雨未停 提交于 2019-12-30 14:40:30
问题 There are plenty of great answers to questions about making a standalone executable, but I can't figure out how to pack art assets (or dynamically loaded files) into it as well. Why would I want to do this? Because it would be great to distribute a simple (throw away) game that lives entirely in a single executable with no installer. As far as I can tell from searching, there are two basic approaches. 1) Avoid art assets in favor of content generation. I could have a program that turns a

Pack program *and* dynamically loaded files into single executable? (python + pygame, or language agnostic)

南楼画角 提交于 2019-12-30 14:40:07
问题 There are plenty of great answers to questions about making a standalone executable, but I can't figure out how to pack art assets (or dynamically loaded files) into it as well. Why would I want to do this? Because it would be great to distribute a simple (throw away) game that lives entirely in a single executable with no installer. As far as I can tell from searching, there are two basic approaches. 1) Avoid art assets in favor of content generation. I could have a program that turns a

Create single python executable module

半城伤御伤魂 提交于 2019-12-30 02:19:47
问题 Guys, I have much python code in modules which are resides in several python packages and now I need to create single python executable module or file which will include all these files, so it will be working on windows and on linux servers. What are possible solutions and how this can be done? 回答1: That's what egg files are for. Read this: What are the advantages of packaging your python library/application as an .egg file? 回答2: For windows use py2exe , for linux use pyinstaller and for Mac