> I'm making a list of keywords for vim completion and I need a list of > all methods in standard lib. Is there a list somewhere with all of > them, or should I read libref and make it manually? Try: for n in dir(__builtins__): if type(eval(n)) == type(open): print n Alan g. Author of the 'Learning to Program' web site http://www.freenetpages.co.uk/hp/alan.gauld