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


Groups > comp.lang.python > #60651

Re: error

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <cameron@cskk.homeip.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'subject:error': 0.03; 'passionate': 0.05; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'simpson': 0.16; 'student,': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'written': 0.21; 'print': 0.22; 'header:User-Agent:1': 0.23; 'phd': 0.24; 'cheers,': 0.24; 'academic': 0.26; 'header:In-Reply-To:1': 0.27; 'appreciated.': 0.29; 'list:': 0.30; 'gives': 0.31; 'code': 0.31; 'fine,': 0.31; 'request,': 0.31; 'there,': 0.34; 'but': 0.35; 'received:com.au': 0.36; 'charset:us-ascii': 0.36; 'error.': 0.37; 'attending': 0.38; 'received:211': 0.38; 'rich': 0.38; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'according': 0.40; 'easy': 0.60; 'new': 0.61; 'content-disposition:inline': 0.62; 'making': 0.63; 'choose': 0.64; 'life': 0.66; 'between': 0.67; 'lectures.': 0.84; 'legend': 0.84
Date Thu, 28 Nov 2013 11:55:14 +1100
From Cameron Simpson <cs@zip.com.au>
To python-list@python.org
Subject Re: error
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <f72cc61d-eb91-459a-8099-3e2b1be743ec@googlegroups.com>
User-Agent Mutt/1.5.21 (2010-09-15)
References <f72cc61d-eb91-459a-8099-3e2b1be743ec@googlegroups.com>
X-Optus-CM-Score 0
X-Optus-CM-Analysis v=2.1 cv=YYGEuWhf c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=8AHkEIZyAAAA:8 a=pGLkceISAAAA:8 a=lW5uFXhdjmCZnffwZnYA:9 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3331.1385600125.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385600125 news.xs4all.nl 15866 [2001:888:2000:d::a6]:59363
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60651

Show key headers only | View raw


On 27Nov2013 16:37, speen saba <moonlightmadness86@gmail.com> wrote:
> Hello there,
>    I am attending the lectures, and written the codes according to lectures. Professor's codes are working fine, but my one gives an error. I am new to python. Please it's a humble request, just be easy on me while making me understand about the code. It will be much appreciated.
> 

Well, right at the top of your code you set "P" to be a list:

> p = [1,2]

Are you sure you don't want to print pp1.x or pp2.x or cp1.x or cp2.x?

Cheers,
-- 
Cameron Simpson <cs@zip.com.au>

Achilles, a PHD student, had to choose between having a passionate but poor
life as an academic or a dull but rich life as a IT professional yuppie.
Legend has it that he chose poverty.

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


Thread

error speen saba <moonlightmadness86@gmail.com> - 2013-11-27 16:37 -0800
  Re: error Cameron Simpson <cs@zip.com.au> - 2013-11-28 11:55 +1100
  Re: error Dave Angel <davea@davea.name> - 2013-11-27 21:30 -0500

csiph-web