[Tutor] Missing methods in string module?

Philip Carl plc at med.unc.edu
Wed Jun 29 21:32:51 CEST 2005


If I check the Python Libray Reference for String Methods (2.3.6.1) I 
find many methods listed e.g. decode, encode, endswith etc. that do not 
  seem to be listed by the command line dir(string) in Python 2.4 under 
Windows XP, although many other methods e.g. capitalize and center are. 
    Why is this?  Thanks.

Philip Carl
Associate Professor of Pharmacology
1026A Mary Ellen Jones Bld. CB 7365
University of North Carolina Medical School
Chapel Hill, NC 27599
Phone: 919-966-3544
FAX: 919-966-5640



More information about the Tutor mailing list