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?

References <c35280cc-4b70-4030-b040-bafba2eacdd0@googlegroups.com> <k3htib$g7s$1@ger.gmane.org> <k3iglb$r4r$1@ger.gmane.org>
Date 2012-09-22 13:08 +1000
Subject Re: how to do draw pattern with python?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1059.1348283326.27098.python-list@python.org> (permalink)

Show all headers | 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