Copyright (c) Hyperion Entertainment and contributors.

Difference between revisions of "AmigaOS Manual: Python Methods"

From AmigaOS Documentation Wiki
Jump to navigation Jump to search
m (Added dot in front of methods to separate them from functions)
Line 2: Line 2:
   
 
== .capitalize() ==
 
== .capitalize() ==
  +
  +
Capitalizes the first letter of a string.
  +
 
== .center() ==
 
== .center() ==
 
== .count() ==
 
== .count() ==

Revision as of 18:41, 11 February 2021

Built-in Methods for Strings

.capitalize()

Capitalizes the first letter of a string.

.center()

.count()

.decode()

.encode()

.endswith()

.expandtabs()

.find()

.index()

.isalnum()

.isalpha()

.isdecimal()

.isdigit()

.islower()

.isnumeric()

.isspace()

.istitle()

.isupper()

.join()

.len()

.ljust()

.lower()

.lstrip()

.maketrans()

.max()

.min()

.replace()

.rfind()

.rindex()

.rjust()

.rstrip()

.split()

.splitlines()

.startswith()

.strip()

.swapcase()

.title()

.translate()

.upper()

.zfill()

Built-in Methods for Lists

.append()

.count()

.extend()

.index()

.insert()

.pop()

.remove()

.reverse()

.sort()

Built-in Methods for Dictionaries

.clear()

.copy()

.fromkeys()

.get()

.has_key()

.items()

.keys()

.setdefault()

.update()

.values()