Copyright (c) Hyperion Entertainment and contributors.

AmigaOS Manual: Python Methods: Difference between revisions

From AmigaOS Documentation Wiki
Jump to navigation Jump to search
Content deleted Content added
Listed dictionary methods
m Added dot in front of methods to separate them from functions
Line 1: Line 1:
= Built-in Methods for Strings =
= Built-in Methods for Strings =


== capitalize() ==
== .capitalize() ==
== center() ==
== .center() ==
== count() ==
== .count() ==
== decode() ==
== .decode() ==
== encode() ==
== .encode() ==
== endswith() ==
== .endswith() ==
== expandtabs() ==
== .expandtabs() ==
== find() ==
== .find() ==
== index() ==
== .index() ==
== isalnum() ==
== .isalnum() ==
== isalpha() ==
== .isalpha() ==
== isdecimal() ==
== .isdecimal() ==
== isdigit() ==
== .isdigit() ==
== islower() ==
== .islower() ==
== isnumeric() ==
== .isnumeric() ==
== isspace() ==
== .isspace() ==
== istitle() ==
== .istitle() ==
== isupper() ==
== .isupper() ==
== join() ==
== .join() ==
== len() ==
== .len() ==
== ljust() ==
== .ljust() ==
== lower() ==
== .lower() ==
== lstrip() ==
== .lstrip() ==
== maketrans() ==
== .maketrans() ==
== max() ==
== .max() ==
== min() ==
== .min() ==
== replace() ==
== .replace() ==
== rfind() ==
== .rfind() ==
== rindex() ==
== .rindex() ==
== rjust() ==
== .rjust() ==
== rstrip() ==
== .rstrip() ==
== split() ==
== .split() ==
== splitlines() ==
== .splitlines() ==
== startswith() ==
== .startswith() ==
== strip() ==
== .strip() ==
== swapcase() ==
== .swapcase() ==
== title() ==
== .title() ==
== translate() ==
== .translate() ==
== upper() ==
== .upper() ==
== zfill() ==
== .zfill() ==


= Built-in Methods for Lists =
= Built-in Methods for Lists =


== append() ==
== .append() ==
== count() ==
== .count() ==
== extend() ==
== .extend() ==
== index() ==
== .index() ==
== insert() ==
== .insert() ==
== pop() ==
== .pop() ==
== remove() ==
== .remove() ==
== reverse() ==
== .reverse() ==
== sort() ==
== .sort() ==


= Built-in Methods for Dictionaries =
= Built-in Methods for Dictionaries =
== clear() ==
== .clear() ==
== copy() ==
== .copy() ==
== fromkeys() ==
== .fromkeys() ==
== get() ==
== .get() ==
== has_key() ==
== .has_key() ==
== items() ==
== .items() ==
== keys() ==
== .keys() ==
== setdefault() ==
== .setdefault() ==
== update() ==
== .update() ==
== values() ==
== .values() ==

Revision as of 17:40, 11 February 2021

Built-in Methods for Strings

.capitalize()

.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()