in need of some help...

Jens Thoms Toerring jt at toerring.de
Sat May 11 18:20:13 EDT 2013


Alex Norton <ayjayn1101 at gmail.com> wrote:
> On Wednesday, 1 May 2013 13:15:28 UTC+1, Jens Thoms Toerring  wrote:
> > Of course, it might be nicer to have a "result" label some-
> > where in the graphical interface which you set to the text
> > instead of printing it out to the console. And you also will
> > probably add some "Quit" button to end the game.
>
> how would i go about adding print outcomes of all options  to a label ?

If you have a QLabel you can set its text to anything you want
using its setText() method.
                                 Regaeds, Jens

PS: If I may ask you a favor: consider refraining from using Google's
    completely broken interface to newsgroups - your post consists
    of nearly 200 lines of text containing all I wrote, with an empty
    line inserted between each of them, and a single line of text
    you wrote. It's rather annoying to have to sieve through that
    much of unrelated stuff just to find thar one line that's re-
    levant. And this Google groups crap seems to make it nearly
    impossible to do it any other way. If you don't believe me see
    e.g.

      http://wiki.python.org/moin/GoogleGroupsPython

    There are much better alternatives to "Google groups",
    using a real usenet news server and a program that does
    not mess up content of news group postings. They've been
    developed with 30 years of experience with newsgroups.

    If I'd be conspiracy theorist I would conclude that Google
    is up to something bad in trying to make using newsgroups
    nearly impossible by their badly broken stuff (and, to add
    credibility to such a claim, their complete disregard for
    all the criticism they got over the years, actually making
    each version of Google groups even worse), but it's rather
    likely just another case of pure incompetence (or a "why
    should we care" attitude:-(
-- 
  \   Jens Thoms Toerring  ___      jt at toerring.de
   \__________________________      http://toerring.de



More information about the Python-list mailing list