Glob returning an empty list when passed a variable

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sat Feb 10 08:59:19 EST 2007


In <1171113931.544838.103810 at a75g2000cwd.googlegroups.com>,
Hieu.D.Hoang at gmail.com wrote:

> With some number:
> 
> In [2]: "% 3s" % 'a'
> Out[2]: '  a'

The space still doesn't have any effect here:

In [66]: "%3s" % 'a'
Out[66]: '  a'

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list