Re: print with variable justification (with *)

2006-11-18 Thread Why Tea
> In [50]: '%*s' % (5, 'spam') > Out[50]: ' spam' > Marc, that's exactly what I need. Thanks! /Why Tea -- http://mail.python.org/mailman/listinfo/python-list

print with variable justification (with *)

2006-11-18 Thread Why Tea
o work by trials and errors. Does anyone have a working example? /Why Tea -- http://mail.python.org/mailman/listinfo/python-list

Re: What python modules are available?

2006-11-17 Thread Why Tea
> http://svn.effbot.python-hosting.com/pydotorg/listmodules/listmodules.py Thanks. The script worked nicely. > > I tried to import numarray, but python couldn't find it. > > numarray isn't a standard module; see the library reference for a list > of modules that you can expect to be available on

What python modules are available?

2006-11-17 Thread Why Tea
How do I find out what python modules are installed on a Solaris platform? I tried to import numarray, but python couldn't find it. /Why Tea -- http://mail.python.org/mailman/listinfo/python-list