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
Related
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?
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 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 have installed Python 3.4 on my windows 7 64bit system and it runs OK with eclipse. But I am trying to install kivy or pyQT and I get a message that Python 3.4 is not installed on my system. I am totally new to python and all its modules. What can I do to correct this problem? I need a GUI but I think that first I need to make sure that Python is properly install. I hope this questionis not too basic and that I am asking on the right place.
I can't help with PyQT, and possibly this should have been two separate questions. But for Kivy the easiest way to get started is to download the portable package, which includes Python, Kivy, and all the dependencies compiled and ready to go. You can read the instructions for using the portable package here: http://kivy.org/docs/installation/installation-windows.html
If you really want to install Kivy yourself into an existing Python install, you can follow these instructions instead: https://github.com/kivy/kivy/wiki/Using-Kivy-with-an-existing-Python-installation-on-Windows-%2864-or-32-bit%29
Finally, to set up your IDE for use with the Kivy portable package (if necessary): https://github.com/kivy/kivy/wiki/Setting-Up-Kivy-with-various-popular-IDE%27s
Oh, one last caveat: we are working on Python 3 support, and Kivy will run perfectly in Python 3, but packaging is another matter. There are working packaging solutions for Windows apps using Python 3, but if you intend to deploy your app to Android or iOS you currently must use Python 2.
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.