0% found this document useful (0 votes)
8 views1 page

Advanced Python Programming Concepts

The document provides advanced notes on Python, covering key topics such as list methods, tuples, dictionaries, sets, string functions, file handling, exception handling, OOP concepts, modules, lambda functions, and list comprehension. It includes examples for each topic to illustrate their usage. Additionally, it mentions useful libraries like math, random, and datetime.

Uploaded by

tekalekartik95
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)
8 views1 page

Advanced Python Programming Concepts

The document provides advanced notes on Python, covering key topics such as list methods, tuples, dictionaries, sets, string functions, file handling, exception handling, OOP concepts, modules, lambda functions, and list comprehension. It includes examples for each topic to illustrate their usage. Additionally, it mentions useful libraries like math, random, and datetime.

Uploaded by

tekalekartik95
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 Advanced Notes

1. List Methods
append(), insert(), remove(), pop(), sort()

2. Tuple
Immutable collection
t = (1,2,3)

3. Dictionary
key-value pairs
d = {"name":"Kartik","age":16}

4. Set
Unique values
s = {1,2,3}

5. String Functions
upper(), lower(), replace(), split()

6. File Handling
open(), read(), write(), close()

7. Exception Handling
try, except, finally

8. OOP Concepts
Class, Object, Constructor

9. Modules
import math, random

10. Lambda Function


x = lambda a : a*a

11. List Comprehension


[x*x for x in range(5)]

12. Useful Libraries


math, random, datetime

End of Advanced Notes

You might also like