executable

How can I make an EXE file from a Python program? [duplicate]

核能气质少年 提交于 2019-11-26 01:06:03
问题 This question already has an answer here: How can I create a directly-executable cross-platform GUI app using Python? 11 answers How to deploy Python to Windows users? 4 answers Create a single executable from a Python project 2 answers I\'ve used several modules to make EXEs for Python, but I\'m not sure if I\'m doing it right. How should I go about this, and why? Please base your answers on personal experience, and provide references where necessary. 回答1: Auto PY to EXE - A .py to .exe

Compiling a java program into an executable [duplicate]

ⅰ亾dé卋堺 提交于 2019-11-26 00:15:00
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How do I create an .exe for a Java program? I\'ve just made a simple program with Eclipse and I want to compile it into an executable, but simply can\'t seem to find out how to do it. 回答1: You can convert .jar file to .exe on these ways: (source: viralpatel.net) 1- JSmooth .exe wrapper: JSmooth is a Java Executable Wrapper. It creates native Windows launchers (standard .exe) for your java applications. It makes

Java: export to an .jar file in eclipse

我们两清 提交于 2019-11-25 23:45:03
问题 I\'m trying to export a program in Eclipse to a jar file. In my project I have added some pictures and PDF:s. When I\'m exporting to jar file, it seems that only the main has been compiled and exported. My will is to export everything to a jar file if it\'s possible, because then I want to convert it to an extraditable file, like .exe-file. But how? 回答1: No need for external plugins. In the Export JAR dialog, make sure you select all the necessary resources you want to export. By default,

Get path of executable

无人久伴 提交于 2019-11-25 23:25:04
问题 I know this question has been asked before but I still haven\'t seen a satisfactory answer, or a definitive \"no, this cannot be done\", so I\'ll ask again! All I want to do is get the path to the currently running executable, either as an absolute path or relative to where the executable is invoked from, in a platform-independent fashion. I though boost::filesystem::initial_path was the answer to my troubles but that seems to only handle the \'platform-independent\' part of the question - it

Finding current executable's path without /proc/self/exe

非 Y 不嫁゛ 提交于 2019-11-25 21:59:35
问题 It seems to me that Linux has it easy with /proc/self/exe. But I\'d like to know if there is a convenient way to find the current application\'s directory in C/C++ with cross-platform interfaces. I\'ve seen some projects mucking around with argv[0], but it doesn\'t seem entirely reliable. If you ever had to support, say, Mac OS X, which doesn\'t have /proc/, what would you have done? Use #ifdefs to isolate the platform-specific code (NSBundle, for example)? Or try to deduce the executable\'s

How to make a Python script standalone executable to run without ANY dependency? [closed]

若如初见. 提交于 2019-11-25 21:44:41
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 months ago . I\'m building a Python application and don\'t want to force my clients to install Python and modules. I also want to make my application closed-source. So, is there a way to compile Python scripts to standalone executables? 回答1: You can use py2exe as already answered and use

How can I make an EXE file from a Python program? [duplicate]

十年热恋 提交于 2019-11-25 18:47:49
This question already has an answer here: How can I create a directly-executable cross-platform GUI app using Python? 11 answers How to deploy Python to Windows users? 4 answers Create a single executable from a Python project 2 answers I've used several modules to make EXEs for Python, but I'm not sure if I'm doing it right. How should I go about this, and why? Please base your answers on personal experience, and provide references where necessary. Josh Segall Auto PY to EXE - A .py to .exe converter using a simple graphical interface built using Eel and PyInstaller in Python. py2exe is