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


Groups > comp.lang.python > #29717

Re: how to do draw pattern with python?

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'syntax': 0.03; 'incompatible': 0.07; 'notice,': 0.07; '22,': 0.09; 'backwards': 0.09; 'lawrence': 0.09; 'sep': 0.09; 'subject:python': 0.11; 'sat,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'syntaxerror:': 0.16; 'tcp/ip,': 0.16; 'wrote:': 0.17; '2001': 0.17; 'host': 0.24; 'tried': 0.25; 'header:In-Reply- To:1': 0.25; 'appear': 0.26; 'skip:" 20': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'protocols': 0.29; 'code': 0.31; 'file': 0.32; 'switch': 0.32; 'running': 0.32; 'problem': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'server': 0.35; 'path': 0.35; 'doing': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'subject:with': 0.36; 'operating': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'system.': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'first': 0.61; 'personal': 0.62; 'downloadable': 0.84; 'yellow': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2RhAyOh61fU//77eEKr0mmUMd+eHAfPH/07uFIlHCIA=; b=V2Mipd1bMgTF40dDOvG1owS8wGiI7Cak606DlHXL4UI5A/Zx64UDjzA+IkE9/aFEf3 e8CsRT45W8P3Cc/dFx+n988wbsXswzGBDwkrwfiGUCp0RMdM3fW5EFmipvlRF96f7cK3 llsQJN7HUmwGGTdGOBaex78By7nhIZjUxXnWFqBDekYNoZQfEP1Ets9656h/SE6jpovK 4JhcHOdL8U0beescJ73CyFLDT0dbiYm1cEpd1yeQL2P5DurPw7zkg7a1YrTq8SZRoUUK WglsK6Gyk+X4epFSV//9C+njGn5L8X+WanoMg+A6sa1s31gAyOD6udOOYBG6mZmT2q7e P8/g==
MIME-Version 1.0
In-Reply-To <k3iglb$r4r$1@ger.gmane.org>
References <c35280cc-4b70-4030-b040-bafba2eacdd0@googlegroups.com> <k3htib$g7s$1@ger.gmane.org> <k3iglb$r4r$1@ger.gmane.org>
Date Sat, 22 Sep 2012 13:08:43 +1000
Subject Re: how to do draw pattern with python?
From Chris Angelico <rosuav@gmail.com>
To 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.1059.1348283326.27098.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348283326 news.xs4all.nl 6872 [2001:888:2000:d::a6]:48164
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29717

Show key headers only | View raw


On Sat, Sep 22, 2012 at 5:55 AM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
> I tried running your code but got this:-
>
> c:\Users\Mark>pattern.py
>   File "C:\Users\Mark\pattern.py", line 22
>
>     Doing your homework since 2001
>              ^
> SyntaxError: invalid syntax
>
> What am I doing wrong?

The problem is the first non-blank line after "I tried running your
code". Note the path designators and the way they appear ready to fall
over backwards at a moment's notice, just like their host operating
system. Switch to my new HomeworkOS, freely downloadable from my
personal server running my own protocols and completely incompatible
with TCP/IP, and this will work perfectly!

*searches the Yellow Pages for cheek-tongue-removal services*

ChrisA

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


Thread

how to do draw pattern with python? echo.hping@gmail.com - 2012-09-21 06:36 -0700
  Re: how to do draw pattern with python? Laszlo Nagy <gandalf@shopzeus.com> - 2012-09-21 15:54 +0200
  Re: how to do draw pattern with python? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-21 14:55 +0100
  Re: how to do draw pattern with python? Dave Angel <d@davea.name> - 2012-09-21 10:00 -0400
  Re: how to do draw pattern with python? Peter Otten <__peter__@web.de> - 2012-09-21 16:29 +0200
  Re: how to do draw pattern with python? Ismael Farfán <sulfurfff@gmail.com> - 2012-09-21 11:50 -0500
  Re: how to do draw pattern with python? Peter Otten <__peter__@web.de> - 2012-09-21 19:29 +0200
  Re: how to do draw pattern with python? Chris Angelico <rosuav@gmail.com> - 2012-09-22 03:31 +1000
  Re: how to do draw pattern with python? Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-21 11:32 -0600
    Re: how to do draw pattern with python? Hans Mulder <hansmu@xs4all.nl> - 2012-09-22 21:34 +0200
  Re: how to do draw pattern with python? Chris Angelico <rosuav@gmail.com> - 2012-09-22 03:35 +1000
  Re: how to do draw pattern with python? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-21 20:55 +0100
  Re: how to do draw pattern with python? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-21 16:12 -0400
  Re: how to do draw pattern with python? Chris Angelico <rosuav@gmail.com> - 2012-09-22 13:08 +1000

csiph-web