Skip to content

Added 3 more snippets to the list #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
- [listtree.py](listtree.py) Trace the entire class and all its object's attrs at and above self
- [mapattrs.py](mapattrs.py) Map all attributes on or inherited by an
instance to the instance or class from which they are inherited.
-[title.py](title.py) The following snippet can be used to convert a string to title case. This is done using the title() method of the string class.
-[list_comprehension.py](list_comprehension.py) List comprehension provides us with an elegant way of creating lists based on other lists.
-[string_split.py](string_split.py) We can split a string into a list of substrings using the .split() method in the string class.


---

Expand Down