On Sunday 19 June 2011 14:23:25 col speed wrote:
> On 19 June 2011 14:46, Lisi wrote:
> > On Sunday 19 June 2011 08:39:43 Alan Gauld wrote:
> > > "Lisi" wrote
> > >
> > > > It does indeed. Thank you, both of you. I have clearly not got the
> > > > terms
> > > > command, method, function (and fe
On 19 June 2011 14:46, Lisi wrote:
> On Sunday 19 June 2011 08:39:43 Alan Gauld wrote:
> > "Lisi" wrote
> >
> > > It does indeed. Thank you, both of you. I have clearly not got the
> > > terms
> > > command, method, function (and feature?) clearly sorted out in my
> > > mind, so
> > > that is
On Sunday 19 June 2011 08:39:43 Alan Gauld wrote:
> "Lisi" wrote
>
> > It does indeed. Thank you, both of you. I have clearly not got the
> > terms
> > command, method, function (and feature?) clearly sorted out in my
> > mind, so
> > that is obviously where I need to go. I am supposed to be
>
"Lisi" wrote
It does indeed. Thank you, both of you. I have clearly not got the
terms
command, method, function (and feature?) clearly sorted out in my
mind, so
that is obviously where I need to go. I am supposed to be
researching
import, but I have not yet succeeded in seeing why it is a
On Saturday 18 June 2011 15:58:23 Alan Gauld wrote:
> "Lisi" wrote
>
> > But I still can't write to the file.
> >
> > If I do:
> > target.write(line1)
> >
> > The value of the variable line1 is written to the file.
>
> That will work provided line1 is a string.
>
> > But if I put the three variab
"Lisi" wrote
But I still can't write to the file.
If I do:
target.write(line1)
The value of the variable line1 is written to the file.
That will work provided line1 is a string.
But if I put the three variables into the write command,
what gets printed is the name of the variables, not
Lisi wrote:
But I still can't write to the file.
If I do:
target.write(line1)
The value of the variable line1 is written to the file. But if I put the
three variables into the write command, what gets printed is the name of the
variables, not their values. I am clearly still doing someth
On Saturday 18 June 2011 13:37:38 Steven D'Aprano wrote:
> Lisi wrote:
> [...]
>
> > Fair enough. the closing quotation marks are not there.
> >
> > But when they _are_ there, i.e. when that stanza reads:
> >
> > target.write """
> > line1\nline2\nline3\n
> > """
>
> This is not the problem, but I
Lisi wrote:
[...]
Fair enough. the closing quotation marks are not there.
But when they _are_ there, i.e. when that stanza reads:
target.write """
line1\nline2\nline3\n
"""
This is not the problem, but I just thought I'd mention that it's a bit
silly to go to the trouble of using newline esc
I have left the program intact below* because I am afraid that if I cut it I
may cut out something that is essential. I am working from an existing
program that I have typed out under instructions, but am now trying to
replace the commented out section with just one command. The program with
10 matches
Mail list logo