Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51027

Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

Newsgroups comp.lang.python
Date 2013-07-21 18:02 -0700
References <a06c6c7f-1674-436b-81a1-850957d1341d@googlegroups.com> <f5b8c3b2-06aa-49ca-80fc-dca620329f26@googlegroups.com>
Message-ID <eda5ed17-edab-468c-863f-657f83a98f3b@googlegroups.com> (permalink)
Subject Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?
From fronagzen@gmail.com

Show all headers | View raw


On Saturday, July 20, 2013 3:59:00 PM UTC+8, Aseem Bansal wrote:
> After considering all the options suggested here I decided to use PySide/QtCreator as was suggested by Dave Cook. I created a simple GUI with QtCreator and found a way to convert .ui files to .py files. So far so good.
> 
> But now I am having some confusion about the correct tools to use for PySide and I am stuck due to that. I explored the PySide wiki and discussed the confusion on Qt-forums but that didn't help much. The url of that discussion is given below(without backslashes to avoid it being shortened). Just using this on google you can easily find the discussion.
> 
> qt-project.org  forums   viewthread  30114
> 
> Do I need to use QtCreator with PySide if I want drag-and-drop feature for GUI development? Do I need to install Qt? If yes, which version - 4.8 or 5.1? 
> 
> Can I use cxfreeze to make exe files from the GUI developed? I used it for pure Python files and it worked. The size of the file was big but it worked with me having to install Python on another computer. I tried to use cxfreeze on the GUI Python script that I was finally able to make. Some exe was made but no GUI started when I ran the exe. Is that a problem with cxfreeze or me having wrong tools installed?
> 
> Any help is appreciated.

It is possible to freeze PyQt programs, yes; I've succeeded before. However, cxFreeze will grab the entire PyQt library, which is past a hundred megabytes in size, so you're going to end up with an enormous file.

Do you have a setup.py appropriately configured for this? You should probably do, it's rather likely that the autodetect isn't correctly identifying dependencies. cxFreeze actually lists missing modules near the beginning of its run, try and take a look at that. Unfortunately, not every single missing module is actually missing or critical, and I can't really help you identify which one. For example, for my script, I have:

Missing Modules:
? BeautifulSoup imported from lxml.html.souparser
? UserDict imported from lxml.html
? __main__imported from bdb
? _gestalt imported from platform
? _posixsubprocess imported from subprocess
? etree imported from lxml.ptclasslookup
? html5lib imported from lxml.html.html5parser
? htmlentitydefs imported from lxml.html.soupparser
? sets oimported from lxml.ElementInclude
? Ssouppraser imported from lxml.html.ElementSoup
? urllib.urlencode imported from lxml.html
? urllib.urlopen imported from lxml.html
? urllib2 imported from lxml.ElementInclude
? urlparse imported from lxml.ElementInclude
? win32api imported from platform
? win32con imported from platform

But the only thing I actually need to explicitly include in my setup.py is os, lxml and gzip. Go figure.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Aseem Bansal <asmbansal2@gmail.com> - 2013-07-04 06:23 -0700
  Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? memilanuk <memilanuk@gmail.com> - 2013-07-04 08:24 -0700
  Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Dave Cook <davecook@nowhere.net> - 2013-07-05 06:52 +0000
    Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Aseem Bansal <asmbansal2@gmail.com> - 2013-07-09 01:33 -0700
      Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? CM <cmpython@gmail.com> - 2013-07-09 22:15 -0700
        Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Aseem Bansal <asmbansal2@gmail.com> - 2013-07-15 07:57 -0700
  Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? asimjalis@gmail.com - 2013-07-15 09:59 -0700
  Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Aseem Bansal <asmbansal2@gmail.com> - 2013-07-20 00:59 -0700
    Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Dave Cook <davecook@nowhere.net> - 2013-07-21 11:14 +0000
      Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-07-21 13:20 +0200
        Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Dave Cook <davecook@nowhere.net> - 2013-07-22 00:13 +0000
        Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Aseem Bansal <asmbansal2@gmail.com> - 2013-07-22 05:32 -0700
      Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Michael Torrie <torriem@gmail.com> - 2013-07-21 21:56 -0600
    Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? fronagzen@gmail.com - 2013-07-21 18:02 -0700
  Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Cucole Lee <lzgcucool@gmail.com> - 2013-07-22 01:54 -0700
    Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Kevin Walzer <kw@codebykevin.com> - 2013-07-22 10:57 -0400
      Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? David Hutto <dwightdhutto@gmail.com> - 2013-07-23 01:49 -0400
  Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? shubhxx54@gmail.com - 2013-09-21 00:19 -0700
    Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Aseem Bansal <asmbansal2@gmail.com> - 2013-09-21 01:06 -0700
    Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio? Dave Angel <davea@davea.name> - 2013-09-21 13:19 +0000

csiph-web