Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44574
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.032 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'output': 0.05; 'assignment': 0.07; 'element': 0.07; 'logic': 0.09; 'python': 0.11; 'gui': 0.12; 'language.': 0.14; 'random': 0.14; 'determining': 0.16; 'handlers': 0.16; 'labels,': 0.16; 'loop.': 0.16; 'selects': 0.16; 'accordingly.': 0.16; 'wrote:': 0.18; 'alex': 0.19; 'basically': 0.19; 'subject:need': 0.19; 'integer': 0.24; 'updating': 0.26; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'label': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'didnt': 0.31; 'subject:some': 0.31; 'probably': 0.32; 'basic': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'being': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'use.': 0.39; 'visual': 0.39; 'to:addr:python.org': 0.39; 'tell': 0.60; 'course': 0.61; 'simply': 0.61; 'complete': 0.62; '30,': 0.65; 'finally': 0.65; 'linked': 0.65; 'results': 0.69; 'college': 0.70; 'norton': 0.84; 'fyi': 0.91; 'procedural': 0.91; 'taught': 0.96; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=fQMb5a8dqpMVGX2+NWye1IZsaHf0I6LHTZubeAIQ9lc=; b=dtSLHHOeovkw6RxLpkv7NyclCn52a8KUOzhmiqNaszosPtbCUUBA/zF6LjJdxmCz37 EbMKG5CyTy6tJLA76QDtikOqBTCoOtUJU3xtGnqI6c+FaBnAqMBVr6+KpSmWtRmx+wPH 9hpqB83iMkIrJDQ7PN3BT9QPJjLRZstpNiwNZwnMQHgULflSNe8nRAE/iaQ+Mg0saDbU wqW6IW1JHJI1OOYJWmiXPPvih5V3R1JOJjkyV4CaxAki9xjIu0D9Pfhf6efn0EZG9lbx y3g7XLPB1f07cIlJ8zyyzwTYyQGH01mjLAl5Qc7TC6jhrW4LHRUCvQGeAQEPAZ0uVKjP 9zig== |
| X-Received | by 10.68.228.134 with SMTP id si6mr702074pbc.24.1367363012168; Tue, 30 Apr 2013 16:03:32 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <001fe0f1-9124-4cbb-bc84-1b58ee7b8138@googlegroups.com> |
| References | <1bdc367a-4187-440b-85a8-de69360bc71d@googlegroups.com> <mailman.1201.1367360008.3114.python-list@python.org> <001fe0f1-9124-4cbb-bc84-1b58ee7b8138@googlegroups.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Tue, 30 Apr 2013 17:02:51 -0600 |
| Subject | Re: in need of some help... |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1202.1367363021.3114.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1367363021 news.xs4all.nl 15889 [2001:888:2000:d::a6]:42915 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:44574 |
Show key headers only | View raw
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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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