Welcome to the Python DS Methods and Properties Cheat Sheet! This repository provides an organized and easy-to-understand reference for Python's built-in data structures, their methods, and properties.
Python's data types like lists, tuples, dictionaries, sets, and strings come with various useful methods and properties. Understanding these can save time, make your code cleaner, and help you write efficient Python programs.
This cheat sheet is categorized by Python's data structures:
Each file contains:
- Methods: Commonly used methods with descriptions and examples.
- Properties: Important properties and how to use them.
- Refer to the specific file for the data structure you're working with.
- Use examples to better understand how to apply methods and properties.
- Bookmark this repository for quick reference during development.
/
├── README.md # Overview of the repository
├── lists.md # List methods and properties
├── tuples.md # Tuple methods and properties
├── dictionaries.md # Dictionary methods and properties
├── sets.md # Set methods and properties
├── strings.md # String methods and properties
├── numbers.md # Number methods and properties
├── files.md # File handling methods and properties
└── special_methods.md # Dunder/Special methods
We welcome contributions to expand and improve this resource! Check out our CONTRIBUTING.md file to get started.
Jaimin Bariya AKA Cloud Boy
If you find this repository helpful, give it a ⭐ and share it with others. Happy coding! 😎