Programming
Python
R
Java
C
C++
C#
WEB
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
MORE
Examples1
Python
GO
R
Java
C
C++
C#
Examples2
Python
R
Java
C
C++
C#
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
Seo Tools
Code Minifier
Code Beautifier
Language Compiler
Misc Tools
File Converter
References
C
C++
Python
Java
PHP
JavaScript
Examples
Python
R
Java
C
C++
C#
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
Home
About
Contact
JetPack
Multi Themes-->>
Code it ALL
Scroll TOP
dir() - Functions in python - CodeGK
Δ Python References
Dictionary
clear
copy
get
items
keys
pop
popitem
setdefault
update
values
Functions
abs()
all()
any()
ascii()
bin()
bool()
bytearray()
bytes()
callable()
chr()
complex()
delattr()
dict()
dir()
divmod()
enumerate()
float()
frozenset()
getattr()
globals()
hasattr()
help()
hex()
input()
int()
isinstance()
issubclass()
iter()
len()
list()
locals()
max()
min()
next()
oct()
List
append()
clear()
copy()
count()
index()
insert()
pop()
remove()
reverse()
sort()
String
capitalize()
casefold()
center()
count()
encode()
endswith()
expandtabs()
find()
format()
id()
index()
isalnum()
isalpha()
isdecimal()
isdigit()
isidentifier()
islower()
isnumeric()
isprintable()
isspace()
istitle()
isupper()
join()
ljust()
lower()
lstrip()
partition()
replace()
rfind()
rindex()
rjust()
rpartition()
upper()
♦ dir() - Functions
♣ Example1: dir()
Input:
Run CODE
Reload Code
Copy Code
class Student: name = "Janet" age = 27 country = "Canada" print(dir(Student))
Output: