Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #84358
| From | Grant Edwards <invalid@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: [OT] absolute vs. relative URI |
| Date | 2015-01-23 17:10 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <m9tvao$gn9$1@reader1.panix.com> (permalink) |
| References | <m9tmt8$hbn$1@reader1.panix.com> <87twzh34r6.fsf@elektro.pacujo.net> <m9tq24$1pu$1@reader1.panix.com> <mailman.18035.1422028823.18130.python-list@python.org> |
On 2015-01-23, Chris Warrick <kwpolska@gmail.com> wrote:
>
> Hah! Those people certainly don’t look “experienced”.
>
> "<a src='%sWhatever>Whatever</a>" % wwwroot
>
> 0. This should be href=, but this is probably an error with retyping.
> (use copy-paste next time.)
> 1. "double" quotes should be used,
> 2. and on both sides of the URL.
My bad. Those three were typos in my example. Real examples that I
could cut/paste all had way to much other cruft involved to serve as
useful illustrations of my quesiton.
> 3. This should be handled in (Jinja2) templates,
> 4. which should not involve string formatting;
> 5. especially old-style %-based string formatting!
The code I posted wasn't from the actual project -- it was just an
illustration to show what they were doing rather than exactly how they
were doing it.
--
Grant Edwards grant.b.edwards Yow! All this time I've
at been VIEWING a RUSSIAN
gmail.com MIDGET SODOMIZE a HOUSECAT!
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[OT] absolute vs. relative URI Grant Edwards <invalid@invalid.invalid> - 2015-01-23 14:47 +0000
Re: [OT] absolute vs. relative URI Marko Rauhamaa <marko@pacujo.net> - 2015-01-23 17:18 +0200
Re: [OT] absolute vs. relative URI Grant Edwards <invalid@invalid.invalid> - 2015-01-23 15:40 +0000
Re: [OT] absolute vs. relative URI Chris Warrick <kwpolska@gmail.com> - 2015-01-23 17:00 +0100
Re: [OT] absolute vs. relative URI Grant Edwards <invalid@invalid.invalid> - 2015-01-23 17:10 +0000
Re: [OT] absolute vs. relative URI Chris Angelico <rosuav@gmail.com> - 2015-01-24 04:48 +1100
Re: [OT] absolute vs. relative URI Rick Johnson <rantingrickjohnson@gmail.com> - 2015-01-23 11:02 -0800
Re: [OT] absolute vs. relative URI Chris Angelico <rosuav@gmail.com> - 2015-01-24 06:46 +1100
Re: [OT] absolute vs. relative URI Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-01-23 20:22 +0000
Re: [OT] absolute vs. relative URI Chris Angelico <rosuav@gmail.com> - 2015-01-24 04:55 +1100
Re: [OT] absolute vs. relative URI Tony the Tiger <tony@tiger.invalid> - 2015-01-23 18:21 +0000
csiph-web