I try to make an appliction using python and tkinter. At the moment I have couple of .py files where I intregated those .py files in my main UI python file or module.
I want to release this application in production mode using pycharm. What is the best way to do that? Is there any facility to create a Windows installable app?
Related
can we deploy 'easygui' application?
If so, how?
I have done a simple easy GUI application using Python 3.6
Now I want to create a setup file for the same.
I got a nice explanation from zadacka, when I contacted him on Github. A standard way to deploy is setuptools. There are a lot of ways of doing the deployment. Within the python world, setuptools is the successor to distutils, and the wheel packaging system is the successor to the egg.
For converting a .py file to a .exe
You can use any of the below 3 tools.
They have their own website with nice documentation.
py2exe
cx_Freeze
pyinstaller
these are used to generate a .exe file.
We need tools like Windows Installation wizard / Microsoft Installation wizard.
The one which was most suggested is Inno setup it is also a free tool.
I am using Robot framework but as I didn't want to have python installed in my machine. Hence I am using the robotframework-3.0.1.jar form maven to run my scripts.
But now I want to access excel form my codes.
I found a library in http://navinet.github.io/robotframework-excellibrary/ but it required python installation. Is there any way out that I can use the robotframework-excellibrary without installing python
I need to create a node.js application that works in background as a web application. The app should provide some functionality for the main client's site. The application is going to be installed on many machines with differences OS, that's why I want to get rid of node.js dependency and compile it to binary.
I used electron-builder, but as I understood it depended on GUI. So, what can I do to compile the app that can work without GUI and Node.js?
How about pkg?
This command line interface enables you to package your Node.js project into an executable that can be run even on devices without Node.js installed.
I need to deploy my python 3 app as .exe for Windows. I'm working on linux. I have tried PyInstaller, but it seems that I have to run it from the Windows to make valid .exe. I do have access to Windows, but I would like to use it to test that my .exe is working rather than to build it.
Also is it possible to create this exe using GitLab CI?
In general, you could try to use wine in order to use windows tooling on a Linux box.
But I think this is really the wrong approach: the natural deployment option for python ... are python modules. So, instead of wasting (?) your time building one-platform-exe files ... learn how to create proper Python modules, and deploy your app using your own module.
See here for some first reading on python modules on Windows.
i created selenium webdriver java project,is it possible to convert into .exe file.If it is possible means whether it runs in all other devices without need of any specifications.
Consider Launch4J java exe wrapper: http://launch4j.sourceforge.net/
Here is the documentation: http://launch4j.sourceforge.net/docs.html
In looking for a solution to this myself I recently created an application that can generate executable launchers, with optional embedded icon, for jar files.
CStExe will compile C# scripts into Windows executables, you can write C# scripts, or edit the included example script, to launch a batch file that points to your jar files or directly launch the jar file from the C# script then use CStExe to compile the script into a Windows executable.
Personally I prefer to use the executable to launch a batch (.bat) file rather than launching the jar directly. With this method you can just edit the batch file to reflect command/argument changes over the course of your applications development without having to re-compile the executable.
You can grab CStExe from my personal site here:
http://1337atr.weebly.com/cstexe.html
P.S. One of the benefits of this method is that you have a few options in regards to how the end user has access to the Java Runtime Environment.
One of my favorites is that you can bundle the JRE with your application so that the end user doesn't have to install it at all. In this case simply include the JRE in a subdirectory of your application.
For example if you have created an executable that launches a batch file that points to your jar, instead of calling java -jar from the batch file use something like "Java\JRE_1.8.0_25\bin\java.exe -jar Jars\MyApplication.jar" without quotes. This will launch the application via the included JRE.
Conversely if you're skilled in C# you could write your C# script so that running the compiled executable will check for installed Java and if it is either not found or an incorrect version instead of trying to launch the application it launches an included JRE installer or opens a web browser to the JRE download page.