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


Groups > comp.lang.python > #83079 > unrolled thread

[ANN] EasyGUI_Qt version 0.9

Started byAndré Roberge <andre.roberge@gmail.com>
First post2014-12-31 14:24 -0800
Last post2015-01-14 09:12 -0800
Articles 1 on this page of 21 — 7 participants

Back to article view | Back to comp.lang.python


Contents

  [ANN] EasyGUI_Qt version 0.9 André Roberge <andre.roberge@gmail.com> - 2014-12-31 14:24 -0800
    Re: [ANN] EasyGUI_Qt version 0.9 wxjmfauth@gmail.com - 2015-01-01 02:39 -0800
    Re: [ANN] EasyGUI_Qt version 0.9 wxjmfauth@gmail.com - 2015-01-02 02:29 -0800
      Re: [ANN] EasyGUI_Qt version 0.9 André Roberge <andre.roberge@gmail.com> - 2015-01-02 11:11 -0800
        Re: [ANN] EasyGUI_Qt version 0.9 Emil Oppeln-Bronikowski <emil@fuse.pl> - 2015-01-02 20:27 +0100
          Re: [ANN] EasyGUI_Qt version 0.9 André Roberge <andre.roberge@gmail.com> - 2015-01-02 11:53 -0800
            Re: [ANN] EasyGUI_Qt version 0.9 Emil Oppeln-Bronikowski <emil@fuse.pl> - 2015-01-02 21:21 +0100
              Re: [ANN] EasyGUI_Qt version 0.9 André Roberge <andre.roberge@gmail.com> - 2015-01-02 13:35 -0800
        Re: [ANN] EasyGUI_Qt version 0.9 wxjmfauth@gmail.com - 2015-01-03 00:52 -0800
          Re: [ANN] EasyGUI_Qt version 0.9 André Roberge <andre.roberge@gmail.com> - 2015-01-03 09:11 -0800
            Re: [ANN] EasyGUI_Qt version 0.9 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-01-03 17:38 +0000
              Re: [ANN] EasyGUI_Qt version 0.9 wxjmfauth@gmail.com - 2015-01-04 01:32 -0800
            Re: [ANN] EasyGUI_Qt version 0.9 Michael Torrie <torriem@gmail.com> - 2015-01-03 16:06 -0700
            Re: [ANN] EasyGUI_Qt version 0.9 wxjmfauth@gmail.com - 2015-01-04 00:12 -0800
    Re: [ANN] EasyGUI_Qt version 0.9 stephen.boulet@gmail.com - 2015-01-09 15:08 -0800
      Re: [ANN] EasyGUI_Qt version 0.9 André Roberge <andre.roberge@gmail.com> - 2015-01-09 16:21 -0800
      Re: [ANN] EasyGUI_Qt version 0.9 André Roberge <andre.roberge@gmail.com> - 2015-01-09 17:02 -0800
        Re: [ANN] EasyGUI_Qt version 0.9 Chris Warrick <kwpolska@gmail.com> - 2015-01-10 10:32 +0100
        Re: [ANN] EasyGUI_Qt version 0.9 stephen.boulet@gmail.com - 2015-01-13 04:23 -0800
          Re: [ANN] EasyGUI_Qt version 0.9 André Roberge <andre.roberge@gmail.com> - 2015-01-13 12:29 -0800
            Re: [ANN] EasyGUI_Qt version 0.9 stephen.boulet@gmail.com - 2015-01-14 09:12 -0800

Page 2 of 2 — ← Prev page 1 [2]


#83768

Fromstephen.boulet@gmail.com
Date2015-01-14 09:12 -0800
Message-ID<3b518dff-6c62-49ba-8955-a92cfc0563fa@googlegroups.com>
In reply to#83723
On Tuesday, January 13, 2015 at 8:30:13 PM UTC, André Roberge wrote:
> On Tuesday, 13 January 2015 08:23:30 UTC-4, stephen...@gmail.com  wrote:
> > I found a solution that I'm happy with.
> > 
> > from datetime import datetime
> > from easygui_qt import *
> > 
> > datestring = get_date()
> > mydate = datetime.strptime(datestring, '%b %d %Y')
> 
> I'm thinking of having the new version return a datetime object automatically.
> 
> André

That's probably a cleaner solution.

> > On Saturday, January 10, 2015 at 1:02:30 AM UTC, André Roberge wrote:
> > > On Friday, 9 January 2015 19:09:15 UTC-4, stephen...@gmail.com  wrote:
> > > > On Wednesday, December 31, 2014 at 4:24:50 PM UTC-6, André Roberge wrote:
> > > > > EasyGUI_Qt version 0.9 has been released.  This is the first announcement about EasyGUI_Qt on this list.
> > > > > 
> > > > > Like the original EasyGUI (which used Tkinter), 
> > > > > EasyGUI_Qt seeks to provide simple GUI widgets
> > > > > that can be called in a procedural program. 
> > > > > 
> > > > > EasyGUI_Qt is NOT event-driven: all GUI interactions are invoked by simple function calls.
> > > > > 
> > > > > The archetype is get_string(message)
> > > > > which pops a box whose purpose is exactly the same as Python's input(prompt),
> > > > > that is, present the user with a question/prompt, have the user enter an
> > > > > answer, and return the provided answer as a string.  Thus
> > > > > easygui_qt.get_string() can be used as a drop-in replacement for
> > > > > input().
> > > > > 
> > > > > Similarly, instead of using a print() function to display a message,
> > > > > show_message() is used which pops a message window.
> > > > > 
> > > > > EasyGUI_Qt requires PyQt4 and is really targeted for Python 3.3+ - although it can work (possibly with some unicode problems ...) using Python 2.7.
> > > > > 
> > > > > More information can be found at 
> > > > > http://easygui-qt.readthedocs.org/en/latest/index.html
> > > > > 
> > > > > Feedback is most welcome, including reporting bugs to 
> > > > > https://github.com/aroberge/easygui_qt/issues
> > > > > 
> > > > > Happy 2015 everyone,
> > > > > 
> > > > > André Roberge
> > > > 
> > > > Very nice, thanks.
> > > > 
> > > > One issue is the format returned for the calendar selection. For today, the string returned is "Fri Jan 9 2015". My script needs to convert the date to a datetime.date, and having the month returned as a string instead of an integer makes this harder.
> > > 
> > > Would today's date be represented as the string "09.01.2015" useful to you? (I found out how to do this.)  If so, I could perhaps add an argument like numeric_format = True.
> > > 
> > > André

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.python


csiph-web