Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82643
| 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 | <marcus.luetolf@bluewin.ch> |
| 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 | Marcus Lütolf <marcus.luetolf@bluewin.ch> |
| To | <python-list@python.org> |
| 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 <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.17037.1418923700.18130.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hello Dears,
1)I am trying to do this:
>>> dir(_builtins_)
I am getting this:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
dir(_builtins_)
NameError: name '_builtins_' is not defined
2)I am trying to do this:
>>> 'TTA',_add_('GGA')
I’am getting this :
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
'TTA',_add_('GGA')
NameError: name '_add_' is not defined
3)I am trying to do this:
>>> -3 .abs()
I’am getting this
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
-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 "<pyshell#2>", line 1, in <module>
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üft.
http://www.avast.com
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
problems with Methods in Python 3.4.2 Marcus Lütolf <marcus.luetolf@bluewin.ch> - 2014-12-18 18:27 +0100 Re: problems with Methods in Python 3.4.2 André Roberge <andre.roberge@gmail.com> - 2014-12-18 09:44 -0800 Re: problems with Methods in Python 3.4.2 John Gordon <gordon@panix.com> - 2014-12-18 18:45 +0000
csiph-web