How to use Python GUI online? - python-3.x

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.

Related

How to develop apps for Wayland without using a widget toolkit?

I would like to know how to develop an application without using widgets toolkits like GTK or QT. Searching I found that for Xorg it is possible using Xlib. But how to do this for Wayland? Is there an Xlib equivalent library for Wayland? Where should I start my studies?
Using libwayland-client.
The following are some materials for reference:
https://github.com/emersion/hello-wayland
https://wayland-book.com/
https://www.youtube.com/watch?v=KbryyNrMYl4

Python windows forms application

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.

Installation of python 3.4

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.

Is there a cross platform desktop framework that would utilize native libraries such at .NET and Cocoa?

I am starting a project that is heavily graphics related (think, paint app with layers).
Anyway, I have a long history in C#, Java, JavaScript and Ruby. This application will be open source.
But what I'm looking for is a "build once, use everywhere" framework. Most of the platforms I've looked into either seem to be far too outdated, too complicated, or just not a right fit.
I've looked into Swing, WindowBuilder, wxRuby, etc. So many choices and none seem modern enough, have good documentation, etc.
I was a C# desktop developer for years so if I were targeting Windows only, I would go that route easily. But I want my app to run on Macs too. But, I would like the Mac version to look like it was designed for a Mac and the Windows version designed for Windows, etc. I'm looking at the Mono Project currently. But the idea of my Mac users installing Mono doesn't appeal to me.
Anything Ruby based would be cool but not required.
Anyway, what are some recommendations? I use NetBeans, Eclipse and Visual Studio. So I'm not concerned with learning new IDE's if I had to. I even thought about doing it all in JavaScript and using the canvas but since I need to work with large, local binary files, I didn't know if that would be a good option.
Thanks for any suggestions.
Real Studio can create cross-platform desktop apps for OS X, Windows and Linux. It can also create Cocoa apps and you can use it to interface with Cocoa directly when needed.
However, Real Studio creates Win32 apps, not .NET apps so you cannot directly interface with .NET libraries.

How do I install the Mono Winforms Designer on Mac OS X?

I've searched around but was unable to find a good, clear, answer. Can someone please explain to me how I can install the Mono Winforms Designer on Mac OS X? If it's not possible on OS X, can it be done on Linux? And if so, how?
Any and all help is appreciated! Thanks.
Although you probably could install the Mono Winforms designer on OS X or Linux, you will quickly find that it is a very rough prototype that is not suitable for use. Development on it was abandoned a couple of years ago.
You will be able to use MonoDevelop for the Mac OSX. Go to Mono.com here and you will find the information on how to install it on Mac OSX. The download page for Mac OSX is here, click on the Mac OSX icon and you should be good to go after downloading the appropriate packages.
There is a caveat emptor which I'll quote from the page - Gtk# and System.Windows.Forms applications require X11. Installing on a machine without X11 installed will result in errors during install, and these components will not function correctly.
I would guess it has to do with the Mac OS X's GUI conflicting with X...I'd imagine..not 100% sure.
For MonoDevelop, click here, click on the Mac OSX Icon..this will sit on top of the Mono framework...you will need to dig around a bit to see if this will co-exist with your existing setup... not sure here...
The good news on the Linux side, is it works, if you are building mono from scratch, using the Mono-2.6.1. sources here, build in this order...
mono-2.6.1.tar.bz2
libgdiplus-2.6.1.tar.bz2
mono-tools-2.6.1.tar.bz2
mono-debugger-2.6.1.tar.bz2
mono-addins-2.6.1.tar.bz2
The rest of them are optional.
Edit: I have added a few more bits of information. There is a cross-platform alternative to designing GUI's with Mono, it is Gtk# and Glade#. The Gtk# toolkit is a wrapper around the GTK tools that is used by Gnome. Glade# is a UI designer toolkit that uses Gtk#. This answer would not be complete without mentioning a couple of links to some tutorials on Gtk#.
Gtk# Tutorial on CodeProject.
Calc# - an intro to Gtk#
Custom controls with Mono and Gtk# here
Glade code changer here
All of the above links reside at CodeProject.
Hope this helps,
Best regards,
Tom.

Resources