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


Groups > comp.lang.python > #111793

Re: learning python. learning defining functions . need help

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Newsgroups comp.lang.python
Subject Re: learning python. learning defining functions . need help
Date Sat, 23 Jul 2016 11:39:48 -0400
Organization IISS Elusive Unicorn
Lines 20
Message-ID <mailman.84.1469288392.22221.python-list@python.org> (permalink)
References <432aeb03-ea14-4ece-8e5b-a7521cf12b84@googlegroups.com> <ji44pbpbaj6olkqcq832ivm7q7gl5d1aca@4ax.com> <CAPTjJmq6nnqp3434HNkxZLPm-igt-vk76u1GZVsr7euhWd4f8Q@mail.gmail.com> <t2d5pbl22jdt8a5opkppgnsi06khi96emp@4ax.com> <0r37pbpdbr486ofl4n13ajkts7so8h3t52@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de CNKzz9G0k/pqjSr7rOALawVuz7EBRJvjtpyuM6KzLfNA==
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.017
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:help': 0.07; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '2016': 0.16; '>on': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'subject:python.': 0.16; 'comparing': 0.18; 'subject:need': 0.18; 'url:home': 0.18; 'posted': 0.21; 'example': 0.26; 'header:X -Complaints-To:1': 0.26; 'chris': 0.26; 'fri,': 0.27; 'sets.': 0.29; 'subject:learning': 0.29; 'code': 0.30; 'checks': 0.30; 'certain': 0.31; 'getting': 0.33; "i'll": 0.33; 'running': 0.34; 'needed': 0.36; '(and': 0.36; "wasn't": 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset :us-ascii': 0.37; 'late': 0.38; 'why': 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'subject:. ': 0.67; 'jul': 0.72; '+1000,': 0.84; 'dict()': 0.84; 'seldom': 0.84; 'subject: . ': 0.84; 'dennis': 0.91; 'received:108': 0.93
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host adsl-108-68-179-16.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <0r37pbpdbr486ofl4n13ajkts7so8h3t52@4ax.com>
X-Mailman-Original-References <432aeb03-ea14-4ece-8e5b-a7521cf12b84@googlegroups.com> <ji44pbpbaj6olkqcq832ivm7q7gl5d1aca@4ax.com> <CAPTjJmq6nnqp3434HNkxZLPm-igt-vk76u1GZVsr7euhWd4f8Q@mail.gmail.com> <t2d5pbl22jdt8a5opkppgnsi06khi96emp@4ax.com>
Xref csiph.com comp.lang.python:111793

Show key headers only | View raw


On Fri, 22 Jul 2016 20:04:56 -0400, Dennis Lee Bieber
<wlfraed@ix.netcom.com> declaimed the following:

>On Fri, 22 Jul 2016 23:24:27 +1000, Chris Angelico <rosuav@gmail.com>
>declaimed the following:
>
>>
>>... why do you call up "type(dict())"? Why not either just "dict" or "type({})"?
>>
>	I seldom bother with type checks in my normal quick&dirty programs...
>And wasn't certain is {} would also include sets.

	And I'll accept that comparing against dict() was is in error... Just
an example of how little I use those (and I was running late getting to
work -- I posted the code about 0918, needed to be at work by 1000, and
still had to take a shower/shave/etc.)
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

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


Thread

learning python. learning defining functions . need help sigmaphine1914@gmail.com - 2016-07-21 19:27 -0700
  Re: learning python. learning defining functions . need help Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-22 09:13 -0400
  Re: learning python. learning defining functions . need help Chris Angelico <rosuav@gmail.com> - 2016-07-22 23:24 +1000
  Re: learning python. learning defining functions . need help justin walters <walters.justin01@gmail.com> - 2016-07-22 08:21 -0700
    Re: learning python. learning defining functions . need help Steven D'Aprano <steve@pearwood.info> - 2016-07-23 11:44 +1000
  Re: learning python. learning defining functions . need help Random832 <random832@fastmail.com> - 2016-07-22 11:35 -0400
  Re: learning python. learning defining functions . need help Chris Angelico <rosuav@gmail.com> - 2016-07-23 01:35 +1000
  Re: learning python. learning defining functions . need help "D'Arcy J.M. Cain" <darcy@Vex.Net> - 2016-07-22 11:41 -0400
  Re: learning python. learning defining functions . need help MRAB <python@mrabarnett.plus.com> - 2016-07-22 19:36 +0100
  Re: learning python. learning defining functions . need help Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-22 20:04 -0400
  Re: learning python. learning defining functions . need help Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-23 11:39 -0400

csiph-web