Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!81.171.88.16.MISMATCH!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.059 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'subject:Python': 0.06; 'attribute': 0.07; 'nameerror:': 0.16; 'on)': 0.16; 'received:195.186': 0.16; 'received:bluewin.ch': 0.16; 'subject:problems': 0.16; 'trying': 0.19; '>>>': 0.22; '>>>': 0.24; 'finally,': 0.24; '---': 0.24; 'this:': 0.26; 'defined': 0.27; 'diese': 0.29; 'getting': 0.31; "skip:' 10": 0.31; '"",': 0.31; 'file': 0.32; '(most': 0.33; 'skip:& 30': 0.33; 'skip:d 20': 0.34; 'subject:with': 0.35; 'url:rec-html40': 0.35; 'skip:> 10': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'wrong': 0.37; 'url:microsoft': 0.37; 'skip:& 10': 0.38; 'skip:. 20': 0.38; 'url:office': 0.38; 'to:addr:python-list': 0.38; 'url:schemas': 0.38; 'von': 0.38; 'url:omml': 0.39; 'url:2004': 0.39; 'recent': 0.39; 'skip:& 20': 0.39; 'help,': 0.39; 'url:12': 0.39; 'to:addr:python.org': 0.39; 'name': 0.63; 'url:png': 0.68; 'received:178': 0.74; 'avast': 0.84; '8bit%:18': 0.93 From: =?iso-8859-1?Q?Marcus_L=FCtolf?= To: Subject: problems with Methods in Python 3.4.2 Date: Thu, 18 Dec 2014 18:27:08 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_329D_01D01AF0.3E520420" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdAa5SHuwNitvbEeQfOqqUaUnvt/fg== Content-Language: de-ch X-Antivirus: avast! (VPS 141218-0, 18.12.2014), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 241 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1418923700 news.xs4all.nl 2870 [2001:888:2000:d::a6]:39206 X-Complaints-To: abuse@xs4all.nl X-Received-Body-CRC: 235976914 X-Received-Bytes: 11036 Xref: csiph.com comp.lang.python:82643 This is a multipart message in MIME format. ------=_NextPart_000_329D_01D01AF0.3E520420 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Dears, 1)I am trying to do this: >>> dir(_builtins_) I am getting this: Traceback (most recent call last): File "", line 1, in dir(_builtins_) NameError: name '_builtins_' is not defined 2)I am trying to do this: >>> 'TTA',_add_('GGA') I=92am getting this : Traceback (most recent call last): File "", line 1, in 'TTA',_add_('GGA') NameError: name '_add_' is not defined 3)I am trying to do this: >>> -3 .abs() I=92am getting this Traceback (most recent call last): File "", line 1, in -3 .abs() AttributeError: 'int' object has no attribute 'abs' 4) finally, after printing >>>abs._doc_() I am getting this (and so on) : Traceback (most recent call last): File "", line 1, in abs._doc_() AttributeError: 'builtin_function_or_method' object has no attribute '_doc_= ' What did I do wrong ? Thanks for help, Marcus Luetolf, M.D., 90 Bondastreet= , CH-7000 Chur, Switzerland. --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr=FCft. http://www.avast.com ------=_NextPart_000_329D_01D01AF0.3E520420 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello Dears,

1)I am tr= ying to do this:

 

>>> dir(_builtins_)

 

I am getting this:

Traceba= ck (most recent call last):

=A0 File= "<pyshell#0>", line 1, in <module>=

=A0=A0=A0 dir(_builtins_= )

NameE= rror: name '_builtins_' is not defined

 

2)I am trying to do this:

 

>>> 'TTA',_add_('GGA')

 

I’am getting this :

Traceback (mo= st recent call last):

=A0 File &quo= t;<pyshell#0>", line 1, in <module>

<= p class=3DMsoNormal>=A0=A0=A0 'TTA',_add_('GGA')<= o:p>

NameErr= or: name '_add_' is not defined

<= span style=3D'color:red'> 

3)I am trying to do this:

 

>>> -3 =A0.abs()

 

I’am getting this

Traceback (most recent call last):

=A0 File "&= lt;pyshell#1>", line 1, in <module>

=A0=A0=A0 -3 .abs()

Attrib= uteError: 'int' object has no attribute 'abs'

 

4) finally, after printing

 

>>>abs._doc= _()

 

I am getting this (and so on) :

Traceback (most recent call last)= :

=A0 File "<pyshell#2>", line 1, in <module>

=A0=A0=A0 abs._doc_()

AttributeError: 'builtin_function_or_metho= d' object has no attribute '_doc_'

What di= d I do wrong ? Thanks for help, Marcus Luetolf, M.D., 90 Bondastreet, = CH-7000 Chur, Switzerland.

 




Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr=FCft.
www.avast.com


------=_NextPart_000_329D_01D01AF0.3E520420--