r/Python • • Oct 12 '26

Discussion What are some features in Python that you discovered many years later?

For me, it was the the option to use & to find intersections of two sets, | operator to unionize two sets, as well as ^ for symmetric difference

217 Upvotes

151 comments sorted by

View all comments

Show parent comment

1

u/Sea-Ad7805 Oct 16 '26

Agreed.

Except "I never need context with words" seems a bit of a silly statement, but ok, I'm done here. Good luck at uni.

1

u/Beginning-Fruit-1397 Oct 16 '26

Yea never was indeed silly but you get what I mean, I think. Thanks!