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


Groups > comp.lang.python > #72039

confused about the different built-in functions in Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <codemonkey@inbox.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.409
X-Spam-Level ****
X-Spam-Evidence '*H*': 0.48; '*S*': 0.30; 'subject:Python': 0.06; 'called.': 0.16; 'notation': 0.16; 'wa,': 0.16; 'them?': 0.31; 'subject:the': 0.34; 'charset:us-ascii': 0.36; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'called': 0.40; 'how': 0.40; 'free': 0.61; 'visit': 0.64; 'usa': 0.69; 'online': 0.71; 'friends': 0.81; 'photos': 0.93; 'more!': 0.95
DomainKey-Signature q=dns; a=rsa-sha1; c=nofws; d=inbox.com; s=s1; h=mime-version:date:message-id:from:subject:to:content-type; b=uvYm2jPylJ/dDEZvKKPo/2TpgnyDmO4c7I8TVQpO4qTfTTzIEjedOYPt5sj7X8aLTyKX EKp1U2SgiX5GcymFBco1YxnntaU59jfhO67ak5Vab430VWPfYMuIfs/7HbHugybWyxrYW/ XAD5cJmA3Af2F8ffg2ZwyD4CbacypTWDE=
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; d=inbox.com; s=s1; h=mime-version:date:message-id:subject:from:to:content-type; bh=uBDZw84QGTS83sj/EitlrtsyquGCYUGbPxLZzMhQnds=; b=obV3ksrhJfcSxWTV43x38L+zpsbKhWC6/pU48CYbX5njJZrikqTBt7BQC/zrK+jG+IzN G74nmyJMR6OcNSKp3uQWR+z8sjEf+vYWDR6aY4VUzutZc+tijagdCYzKo/ZcSF1i6xHY8u 8NEb1zU85AyFFzxSEpXcm7mr7HSJM3MDo=
Mime-Version 1.0
Date Sun, 25 May 2014 15:55:34 -0800
From Deb Wyatt <codemonkey@inbox.com>
Subject confused about the different built-in functions in Python
To python-list@python.org
X-Mailer INBOX.COM
X-Originating-IP 98.247.209.87
Content-Type text/html; charset=US-ASCII
Content-Transfer-Encoding quoted-printable
X-IWM-ACU c9dLWmy_RPM2XM2MgNUU9QSEJQ-nl8zU8wK8sWwPCP1VL9UWZHYWaeklTQdA nOvm1gGcpfDlPy7CVmtjqrBKDw8eIBIo1icVuUZWtu_ViHouH37sY-9Qi77m EGoAiH-1Nt3QURe1xdqk@
X-Mailman-Approved-At Mon, 26 May 2014 03:33:57 +0200
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.10322.1401068038.18130.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401068038 news.xs4all.nl 2868 [2001:888:2000:d::a6]:60459
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72039

Show key headers only | View raw


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><META http-equiv=Content-Type content="text/html; charset=utf-8"><META content="INBOX.COM" name=GENERATOR></HEAD>
<BODY>
I am confused about how various built-in functions are called. &nbsp;Some are called with dot notation<div><br></div><div>each_item.isalpha()</div><div><br></div><div>and some are called like 'normal'</div><div><br></div><div>sum(numlist)</div><div><br></div><div>How do you know/remember which way to call them?</div><div><br></div><div>TIA,</div><div>Deb in WA, USA</div><hr size="1px" noshade style="clear:both;margin-top:10px;height:1px;">
<div style="font:12px Verdana,sans-serif;color:Black;background:white;padding:3px;line-height:1.3em">
<span style="font-weight:bold;">Free Online Photosharing</span> - Share your photos online with your friends and family!<br>
Visit <a href="http://www.inbox.com/photosharing">http://www.inbox.com/photosharing</a> to find out more!</div>
</BODY>
</HTML>

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


Thread

confused about the different built-in functions in Python Deb Wyatt <codemonkey@inbox.com> - 2014-05-25 15:55 -0800

csiph-web