John Machin wrote:
> I'll take your word for it; it's been quite a while :-) *Something* in
> the dim dark past worked like that
makefiles?
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> John Machin wrote:
>
> > I'll take your word for it; it's been quite a while :-) *Something* in
> > the dim dark past worked like that
>
> makefiles?
Bingo! Actually, double bingo!!
>From the docs for GNU Make:
"""
Because dollar signs are used to start make variable refer
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, John
> Machin wrote:
>
> > Lawrence D'Oliveiro wrote:
> >> In message <[EMAIL PROTECTED]>, John
> >> Machin wrote:
> >>
> >> > 1. Reasoning: How do you get a literal "'" into an SQL string constant?
> >> > How do you get a literal "\" in
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, John
> Machin wrote:
>
>> 1. Reasoning: How do you get a literal "'" into an SQL string constant?
>> How do you get a literal "\" into a Python string constant? How do you
>> get a literal "$" into some *x shell command lines? Do you de
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, John
> Machin wrote:
>
> > 1. Reasoning: How do you get a literal "'" into an SQL string constant?
> > How do you get a literal "\" into a Python string constant? How do you
> > get a literal "$" into some *x shell command lines? Do you
In message <[EMAIL PROTECTED]>, John
Machin wrote:
> Lawrence D'Oliveiro wrote:
>> In message <[EMAIL PROTECTED]>, John
>> Machin wrote:
>>
>> > 1. Reasoning: How do you get a literal "'" into an SQL string constant?
>> > How do you get a literal "\" into a Python string constant? How do you
>> >
In message <[EMAIL PROTECTED]>, John
Machin wrote:
> 1. Reasoning: How do you get a literal "'" into an SQL string constant?
> How do you get a literal "\" into a Python string constant? How do you
> get a literal "$" into some *x shell command lines? Do you detect a
> pattern?
None of which appl
[EMAIL PROTECTED] wrote:
> Thanks -- a percent escapes itself when using %-formatting.
>
> Stephen
>
> [EMAIL PROTECTED] wrote:
> > Hi all. How do I escape the "%" sign in a print statement so that it
> > prints? Thanks.
> >
The following methods of getting answers to problems can be handy if
it'
Thanks -- a percent escapes itself when using %-formatting.
Stephen
[EMAIL PROTECTED] wrote:
> Hi all. How do I escape the "%" sign in a print statement so that it
> prints? Thanks.
>
> Stephen
--
http://mail.python.org/mailman/listinfo/python-list
Rob Williscroft wrote in news:Xns9849DC7DB4102rtwfreenetREMOVEcouk@
216.196.109.145 in comp.lang.python:
> wrote in news:[EMAIL PROTECTED] in
> comp.lang.python:
>
>> Hi all. How do I escape the "%" sign in a print statement so that it
>> prints? Thanks.
>>
>
> print "%%"
>
Ok, confused by
[EMAIL PROTECTED] wrote:
> Hi all. How do I escape the "%" sign in a print statement so that it
> prints? Thanks.
>>> print "%"
%
Did you mean in a string being interpolated with the % operator?
Georg
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Hi all. How do I escape the "%" sign in a print statement so that it
> prints? Thanks.
print doesn't do anything with percent signs:
>>> print "%"
%
if you're doing string formatting using the "string % tuple" operator,
use two percent signs to get a percent sign in
wrote in news:[EMAIL PROTECTED] in
comp.lang.python:
> Hi all. How do I escape the "%" sign in a print statement so that it
> prints? Thanks.
>
print "%%"
Rob.
--
http://www.victim-prime.dsl.pipex.com/
--
http://mail.python.org/mailman/listinfo/python-list
Hi all. How do I escape the "%" sign in a print statement so that it
prints? Thanks.
Stephen
--
http://mail.python.org/mailman/listinfo/python-list
14 matches
Mail list logo