[Tutor] Space

Grail python@nzpagans.8m.com
Mon, 18 Mar 2002 14:15:53 +1200


Yep!
That works.

:)


----- Original Message -----
From: "Chris Keelan" <rufmetal@rogers.com>
To: "Grail" <python@nzpagans.8m.com>
Sent: Monday, March 18, 2002 1:58 PM
Subject: Re: [Tutor] Space


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dateline: Mon, 18 Mar 2002 13:55:19 +1200: laying low until the bleeding
> stops, "Grail" <python@nzpagans.8m.com> transmits:
>
> > Er, no?
> >
> > Tried that (and just tried it again). I still get a space.
> > I'm using Python 2.1.2 by the way...
> >
> >
> > (I'm almost relieved that *didn't* work, and prove me a complete egiot -
but
> > the day is young...)
> >
> Hmmm. Now I'm puzzled.
>
> Try Remco's suggestion of a format string, i.e.:
>
> someVar = "%s%s" % (oDay, suffix(oDay))
> print someVar
>
> That should do it.
>
> ~ C
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard
> <http://www.gnupg.org/>
>
> iD8DBQE8lUmfs7Brp8Mn7wcRAmS3AJ9gNP44xGPU+RjlQqtEuU/9mpS4qgCcCbry
> BpbZ7ZJS+7cvNdpAfdzQeEA=
> =Avng
> -----END PGP SIGNATURE-----
>