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


Groups > comp.lang.python > #44575

Re: in need of some help...

Newsgroups comp.lang.python
Date 2013-04-30 16:20 -0700
References <1bdc367a-4187-440b-85a8-de69360bc71d@googlegroups.com> <mailman.1201.1367360008.3114.python-list@python.org> <001fe0f1-9124-4cbb-bc84-1b58ee7b8138@googlegroups.com> <mailman.1202.1367363021.3114.python-list@python.org>
Message-ID <47292460-b601-47e7-bdba-ccdc5f0d1c27@googlegroups.com> (permalink)
Subject Re: in need of some help...
From Alex Norton <ayjayn1101@gmail.com>

Show all headers | View raw


On Wednesday, 1 May 2013 00:02:51 UTC+1, Ian  wrote:
> On Tue, Apr 30, 2013 at 4:30 PM, Alex Norton <ayjayn1101@gmail.com> wrote:
> 
> > oh FYI its for my college course.. i didnt really want to use Visual Basic so the teacher cannot help
> 
> 
> 
> If the course is being taught in Visual Basic then that would probably
> 
> be the best thing to use.  I'm surprised that the teacher is allowing
> 
> you to complete the assignment in Python if he/she doesn't know the
> 
> language.
> 
> 
> 
> > basically i want to have it so that the element images in the GUI are linked with their corresponding variable(water with lblWater) and in the background the computer selects their own random integer and the results are displayed in the lblOutput.
> 
> 
> 
> I'm not all that familiar with PyQt specifically, but I can tell you
> 
> that GUI programs are typically event-based rather than simply
> 
> procedural like your RPS game.  That means that the "while 1" loop
> 
> that you have will be replaced with the Qt event loop.  You will also
> 
> need to write event handlers for each of the four element labels, so
> 
> that when a user clicks on one of them, the game will go through the
> 
> logic of receiving the player's choice (based on which one was
> 
> clicked), determining the result of the match, and finally updating
> 
> the output label accordingly.

thanks... ill take a look at the Qt event handling

the teacher actually cant teach anything, he as the knowledge of Vb but his teaching methods are abysmal and severely lacking, but he said we can use any language we feel more comfortable in. some are using VB others PHP and some in C ++.
 the reason i chose python was because i could understand it ( simple python) better than any worksheet or notes he made

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


Thread

in need of some help... Alex Norton <ayjayn1101@gmail.com> - 2013-04-30 15:06 -0700
  Re: in need of some help... Chris Angelico <rosuav@gmail.com> - 2013-05-01 08:13 +1000
    Re: in need of some help... Alex Norton <ayjayn1101@gmail.com> - 2013-04-30 15:30 -0700
      Re: in need of some help... Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-30 17:02 -0600
        Re: in need of some help... Alex Norton <ayjayn1101@gmail.com> - 2013-04-30 16:20 -0700
          Re: in need of some help... Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-05-01 00:01 -0400
          Re: in need of some help... Chris Angelico <rosuav@gmail.com> - 2013-05-01 14:37 +1000
            Re: in need of some help... Alex Norton <ayjayn1101@gmail.com> - 2013-05-01 03:27 -0700
          Re: in need of some help... jt@toerring.de (Jens Thoms Toerring) - 2013-05-01 12:15 +0000
            Re: in need of some help... Alex Norton <ayjayn1101@gmail.com> - 2013-05-01 16:24 -0700
            Re: in need of some help... Alex Norton <ayjayn1101@gmail.com> - 2013-05-10 01:23 -0700
              Re: in need of some help... jt@toerring.de (Jens Thoms Toerring) - 2013-05-11 22:20 +0000
                Re: in need of some help... Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-05-12 17:59 +0200
                Re: in need of some help... jt@toerring.de (Jens Thoms Toerring) - 2013-05-12 21:56 +0000
                Re: in need of some help... Chris Angelico <rosuav@gmail.com> - 2013-05-13 08:18 +1000
                Re: in need of some help... jt@toerring.de (Jens Thoms Toerring) - 2013-05-12 22:58 +0000
                Re: in need of some help... Chris Angelico <rosuav@gmail.com> - 2013-05-13 09:08 +1000
                Re: in need of some help... Chris Angelico <rosuav@gmail.com> - 2013-05-13 10:51 +1000
                Re: in need of some help... Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-05-12 19:47 -0400
                Re: in need of some help... Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-05-13 20:10 +1200
                Re: in need of some help... Chris Angelico <rosuav@gmail.com> - 2013-05-13 02:08 +1000
                Re: in need of some help... Alex Norton <ayjayn1101@gmail.com> - 2013-05-12 12:34 -0700

csiph-web