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


Groups > comp.lang.python > #9150 > unrolled thread

Re: String concatenation vs. string formatting

Started byDennis Lee Bieber <wlfraed@ix.netcom.com>
First post2011-07-09 22:55 -0700
Last post2011-07-09 22:55 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: String concatenation vs. string formatting Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-07-09 22:55 -0700

#9150 — Re: String concatenation vs. string formatting

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2011-07-09 22:55 -0700
SubjectRe: String concatenation vs. string formatting
Message-ID<mailman.826.1310277339.1164.python-list@python.org>
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/

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web