Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46501
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <joshua.landau.ws@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.181 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.67; '*S*': 0.03; 'doing?': 0.09; 'url:faqs': 0.09; 'cc:addr:python-list': 0.11; 'def': 0.12; 'blocks': 0.16; 'url:catb': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'trying': 0.19; 'drawing': 0.19; 'meant': 0.20; 'cc:addr:python.org': 0.22; 'finally,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'board': 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'returning': 0.36; 'doing': 0.36; 'similar': 0.36; 'url:org': 0.36; 'should': 0.36; 'example,': 0.37; 'rather': 0.38; 'anything': 0.39; 'how': 0.40; 'read': 0.60; 'range': 0.61; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'here': 0.66; 'goal': 0.75; 'as:': 0.81; 'etc,': 0.84; 'find.': 0.84; 'irrelevant': 0.84; 'it"': 0.84; '"how': 0.91; 'on?': 0.91; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=rOFHJCFs1N5TToMtdYypIB8xx9EpVjrj5LM5CW6YmWA=; b=qQ+o3K+LU3OxWPmaVCDcfcIlIdewuL40uRTqMqQEHNqMxkhphNcaVLNNPB/vObkyrK AXdYdKcZDk/fUxMvgGjABf03tZ8oUNsHSPwdLn7YugKWRsIOelneSoKEWTNVDWSM4kdJ xFb4VgNv8Xh/qt2uCkgN5fmPImbmmsQD93IP9hNwYNBd5wFv8h9NO08LOp2/VyB+MR8M 1gVd5EKz3XZYXB/2pEv1k83LzVh4dtR8i6TL35Di5L8BoiiIkKI+kkk8RrSoyLofDrKE rCcK9kmMeJ51DAR/Ren2xncWiCqqSfjtqCZk2ECtGpQ3iCkS1XwLspBL8C0sobEOrRFV ze6Q== |
| X-Received | by 10.152.22.232 with SMTP id h8mr2639371laf.0.1369926592329; Thu, 30 May 2013 08:09:52 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <7064d3fc-7641-4ecd-9fe0-9631e949fe72@googlegroups.com> |
| References | <e3fd9fdd-efa0-45b8-97b9-b77519012640@googlegroups.com> <2eaa39b8-9e87-402a-b0c0-8c8c5d42fed7@googlegroups.com> <mailman.2422.1369921090.3114.python-list@python.org> <7064d3fc-7641-4ecd-9fe0-9631e949fe72@googlegroups.com> |
| From | Joshua Landau <joshua.landau.ws@gmail.com> |
| Date | Thu, 30 May 2013 16:09:12 +0100 |
| Subject | Re: User Input |
| To | Eternaltheft <eternaltheft@gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | python-list <python-list@python.org> |
| 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.2426.1369926600.3114.python-list@python.org> (permalink) |
| Lines | 37 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1369926600 news.xs4all.nl 15974 [2001:888:2000:d::a6]:48875 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:46501 |
Show key headers only | View raw
On 30 May 2013 15:47, Eternaltheft <eternaltheft@gmail.com> wrote:
>> And perhaps you meant for your function to CALL drawBoard(), rather than
>> returning the function object drawBoard.
>>
>> DaveA
>
> do you think it would be better if i call drawBoard?
Please read http://www.catb.org/esr/faqs/smart-questions.html, or
anything similar you can find.
Start from the beginning.
1) What are you doing? Not "what are you doing now" but, from the top,
what is the goal you are trying to achieve?
2) How have you tried to do it? Code would be nice here too, but
don't just send really large blocks of irrelevant code. For example, your
"drawBoard" function would be better surmised as:
def drawBoard(b):
Turtle.speed(0)
Turtle.up()
Turtle.goto(-4 * b, 4 * b)
Turtle.down()
for i in range (8):
Turtle.forward(b)
Turtle.right(90)
... # etc, drawing a board
3) What are you stuck on? In this case, you are stuck on what to do
after you call input("stuff"), if I understand. What do you want to do
- not "how do you want to do it" but what is it that you are doing?
4) Finally, we should understand what calling drawBoard is for. Ask us
again and we'll be much more likely to give good answers.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
User Input Eternaltheft <eternaltheft@gmail.com> - 2013-05-30 04:33 -0700
Re: User Input Fábio Santos <fabiosantosart@gmail.com> - 2013-05-30 12:45 +0100
Re: User Input Eternaltheft <eternaltheft@gmail.com> - 2013-05-30 04:48 -0700
Re: User Input Chris Angelico <rosuav@gmail.com> - 2013-05-30 22:06 +1000
Re: User Input MRAB <python@mrabarnett.plus.com> - 2013-05-30 13:08 +0100
Re: User Input Fábio Santos <fabiosantosart@gmail.com> - 2013-05-30 13:10 +0100
Re: User Input Eternaltheft <eternaltheft@gmail.com> - 2013-05-30 05:19 -0700
Re: User Input Fábio Santos <fabiosantosart@gmail.com> - 2013-05-30 13:27 +0100
Re: User Input Chris Angelico <rosuav@gmail.com> - 2013-05-30 22:28 +1000
Re: User Input Eternaltheft <eternaltheft@gmail.com> - 2013-05-30 05:37 -0700
Re: User Input Dave Angel <davea@davea.name> - 2013-05-30 08:58 -0400
Re: User Input Chris Angelico <rosuav@gmail.com> - 2013-05-30 22:59 +1000
Re: User Input Eternaltheft <eternaltheft@gmail.com> - 2013-05-30 06:10 -0700
Re: User Input Dave Angel <davea@davea.name> - 2013-05-30 09:37 -0400
Re: User Input Eternaltheft <eternaltheft@gmail.com> - 2013-05-30 07:03 -0700
Re: User Input Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-30 15:30 +0100
Re: User Input Eternaltheft <eternaltheft@gmail.com> - 2013-05-30 07:49 -0700
Re: User Input Eternaltheft <eternaltheft@gmail.com> - 2013-05-30 07:47 -0700
Re: User Input Joshua Landau <joshua.landau.ws@gmail.com> - 2013-05-30 16:09 +0100
csiph-web