Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #9150
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| 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.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'arguments': 0.05; 'constructor': 0.07; 'type,': 0.07; 'pgp': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:string': 0.09; 'message-----': 0.12; 'wrote:': 0.15; '"file"': 0.16; '----- begin': 0.16; 'bieber': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'hash:': 0.16; 'invoking': 0.16; 'open()': 0.16; 'received:66.245': 0.16; 'received:dsl.mindspring.com': 0.16; 'received:mindspring.com': 0.16; 'received:wlfraed': 0.16; 'subject:formatting': 0.16; 'subject:vs.': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'pm,': 0.16; 'described': 0.22; 'file,': 0.22; 'is?': 0.22; 'maybe': 0.22; 'url:home': 0.25; 'testing': 0.25; 'function': 0.26; 'lee': 0.28; 'sat,': 0.28; 'preferable': 0.30; 'version': 0.30; 'installation': 0.30; 'signed': 0.32; 'andrew': 0.32; 'to:addr:python-list': 0.34; 'header:X-Complaints-To:1': 0.34; 'instead': 0.34; 'it?': 0.34; 'example,': 0.35; '(for': 0.36; 'charset:us-ascii': 0.36; 'skip:" 10': 0.36; 'file': 0.36; 'but': 0.37; 'received:org': 0.38; 'subject:: ': 0.38; 'header :Mime-Version:1': 0.39; 'help': 0.39; 'to:addr:python.org': 0.39; 'further': 0.65; 'below.': 0.65; 'subject:. ': 0.66; 'suited': 0.73; 'dennis': 0.77; '-0500,': 0.84; '09:54': 0.84; '2.2.': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: String concatenation vs. string formatting |
| Date | Sat, 09 Jul 2011 22:55:28 -0700 |
| Organization | > Bestiaria Support Staff < |
| References | <4E17661D.6020307@gmail.com> <loom.20110709T125838-983@post.gmane.org> <4E18CFF8.1060908@gmail.com> <ivb494$mpv$1@dough.gmane.org> <4E191B34.8090100@gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | user-11fb7u1.dsl.mindspring.com |
| X-Newsreader | Forte Agent 3.3/32.846 |
| X-No-Archive | YES |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.826.1310277339.1164.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1310277339 news.xs4all.nl 21893 [2001:888:2000:d::a6]:53111 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:9150 |
Show key headers only | View raw
On Sat, 09 Jul 2011 22:23:32 -0500, Andrew Berg
<bahamutzero8825@gmail.com> declaimed the following in
gmane.comp.python.general:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> On 2011.07.09 09:54 PM, Dennis Lee Bieber wrote:
> > "file" is a built-in (related to "open").
> It is? What is it?
>
Maybe it's been removed, but from the help file for my installation
doc> file( filename[, mode[, bufsize]])
doc>
doc> Constructor function for the file type, described further in
section 3.9, ``File Objects''. The constructor's arguments are the same
as those of the open() built-in function described below.
doc> When opening a file, it's preferable to use open() instead of
invoking this constructor directly. file is more suited to type testing
(for example, writing "isinstance(f, file)").
doc>
doc> New in version 2.2.
doc>
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: String concatenation vs. string formatting Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-07-09 22:55 -0700
csiph-web