What python modules are available?
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
Re: What python modules are available?
> 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 most platforms (but > make sure you check the page for the modules you're interested in, to All I need is something to provide me with array features. I can't remember why I chose to use numarray a while ago... -- http://mail.python.org/mailman/listinfo/python-list
print with variable justification (with *)
print format % values An optional minimum width of the conversion, specified using one or more digits or an asterisk (*), which means that the width is taken from the next item in values That's from one of O'reilly's books. But there is no example and I couldn't get it to work by trials and errors. Does anyone have a working example? /Why Tea -- http://mail.python.org/mailman/listinfo/python-list
Re: print with variable justification (with *)
> 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
