I want to do some applications with python, but I haven't found any way of getting a tool-box of buttons, check box, etc.
Can some explain me please how can I do that with:
1. Pycharm.
2. If it is problem with Pycharm, visual studio community is also okay.
Thanks,
Ayal
This is what I have found:
There is a designer from QT, to build a ui file. There is a tool for translating the ui into python. Then you can edit the logic, with any python tool. You only need PyQt the current version is PyQt5.
Related
I am testing LiClipse 6.1.0 and I am trying to configure HTML documents as python documents; help pop-ups while writing code and branching for drop-down code blocks (+)
but I don't see the necessary options.
Solved. Simply install the plugin for Eclipse:
Eclipse Web Developer Tools
Then configure the HTML editor to not show the errors of the inserted python code.
How can i use online python IDEs to work with GUI code. I am working in Kivy framework to build GUI.
I have tried Codeenvy , and some other online IDEs. But i couldnt able work with GUI there.
Kivy is a graphical framework for the desktop, using SDL2 as a backend in most cases. It has no way to run in your browser.
I trying to write test scripts using HttpLibrary (from robot framework) on Eclipse RED editor and below are the steps i have performed -
Steps performed
Installed robot framework HttpLibrary using below command
pip install --upgrade robotframework-httplibrary
From Settings-> Imports, added HttpLibrary to my script
* Settings *
Library HttpLibrary
'Unknown 'HttpLibrary' library. Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation' error message is noticed on hovering the HttpLibrary line in my script.
However upon looking at Red.xml ->Referenced libraries tab, HttpLibrary is listed in the libraries block HttpLibrary in Red.xml
I am wondering if there is any different procedure to add libraries to Red.xml. I am stuck on trying different ways to add HttpLibrary to my script.
After few hours of investigation, i have found root cause of the issue.
I am using Python 3.6.4 in my machine and installed Robot Framework on it.
HttpLibrary supports only Python 2 and so though the library is listed in the Red.xml referenced libraries tab, still my Robot Framework script was not able to reference and run it properly.
Please note that not all the Robot Framework libraries are supported by Python 3.6.4
This occasionally happens. Even when the library is already present in the project config file (RED.xml) and present in the project tree panel. Using CTR+1 and opting for the quick fix option will generally correct this issue without any visual difference.
In the HttpLibrary Github documentation there the usage section also highlights that the library should be imported like:
*** Settings***
Library HttpLibrary.HTTP
This gives a different result.
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 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.