0% found this document useful (0 votes)
7 views2 pages

Python BuiltIn Functions and Methods

The document lists various built-in functions and methods in Python, categorized into basic functions, string methods, list methods, tuple methods, dictionary methods, set methods, control flow, functions, file handling, exception handling, object-oriented programming, regular expressions, and threading. Each category includes specific functions and methods relevant to that area. This serves as a reference for MCA Semester 1-4 students studying Python.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Python BuiltIn Functions and Methods

The document lists various built-in functions and methods in Python, categorized into basic functions, string methods, list methods, tuple methods, dictionary methods, set methods, control flow, functions, file handling, exception handling, object-oriented programming, regular expressions, and threading. Each category includes specific functions and methods relevant to that area. This serves as a reference for MCA Semester 1-4 students studying Python.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PYTHON BUILT-IN FUNCTIONS & METHODS (MCA SEM 1 - 4)

1. BASIC FUNCTIONS

print(), input(), len(), type(), id()

int(), float(), str(), bool()

2. STRING METHODS

upper(), lower(), title(), strip(), replace(), split(), join(), find(), count()

3. LIST METHODS

append(), extend(), insert(), remove(), pop(), sort(), reverse()

4. TUPLE METHODS

count(), index()

5. DICTIONARY METHODS

keys(), values(), items(), get(), update(), pop()

6. SET METHODS

add(), remove(), union(), intersection(), difference()

7. CONTROL FLOW

range(), enumerate(), zip(), break, continue, pass

8. FUNCTIONS

def, return, lambda, map(), filter()

9. FILE HANDLING

open(), read(), write(), close()

10. EXCEPTION HANDLING

try, except, finally, raise

11. OOP
class, __init__(), isinstance(), super()

12. REGEX

[Link](), [Link](), [Link]()

13. THREADING

start(), join(), is_alive()

You might also like