Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2007-08-14 14:58:56
Size: 44
Editor: sprint
Comment:
Revision 3 as of 2007-08-14 15:12:58
Size: 461
Editor: sprint
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= String methods =
  * atof()
  * atoi()
= String module =
  *atof() -> float()
  *atoi() -> int()
  *atol() -> int()
  *capitalize, expandtabs, find, rfind, rfind, index, rindex, count, lower, split, rsplit, splitfields, join, joinfields, lstrip, rstrip, strip, swapcase, translate, upper, ljust, rejust, center, zfill, replace -> methods

= builtins =
  *apply -> use * and **
  *callable
  *coerce
  *dict.has_key -> use x in dict
  *execfile
  *reduce -> moved to functools
  *reload

String module

  • atof() -> float()

  • atoi() -> int()

  • atol() -> int()

  • capitalize, expandtabs, find, rfind, rfind, index, rindex, count, lower, split, rsplit, splitfields, join, joinfields, lstrip, rstrip, strip, swapcase, translate, upper, ljust, rejust, center, zfill, replace -> methods

builtins

  • apply -> use * and **

  • callable
  • coerce
  • dict.has_key -> use x in dict

  • execfile
  • reduce -> moved to functools

  • reload

Py3kDeprecated (last edited 2019-10-27 00:00:19 by FrancesHocutt)

Unable to edit the page? See the FrontPage for instructions.