Introduction
Introduction Statistics Contact Development Disclaimer Help
Post AtrkNfIrhJ9qvqjn4C by [email protected]
More posts by [email protected]
Post #AtrYwR9F7S4HiS3DE0 by [email protected]
0 likes, 1 repeats
Is there a general rule for when python functions are functions and when they a…
Post #Atrc7rbTOnRYoVOaZ6 by [email protected]
0 likes, 0 repeats
@felyashono I don't think there's a general rule! str.split is a method…
Post #Atrc7riYyR7BAUiFcG by [email protected]
0 likes, 1 repeats
@hawthornbunny I think you're on to something regarding modules. As I unde…
Post #AtrcRMd2Gw3mXSQPLs by [email protected]
0 likes, 0 repeats
@felyashono I've found that distinction confusing ever since I heard the wo…
Post #AtrcRMjPtDAErFPVIW by [email protected]
0 likes, 0 repeats
@DopeGhoti Generally speaking, you're kind of right. The term "method…
Post #AtrcRMpnVUGhB2ObFA by [email protected]
0 likes, 1 repeats
@felyashono thank you for that. I keenly look forward to any more informed cor…
Post #AtrkNexayO8zrsmnui by [email protected]
0 likes, 0 repeats
@felyashono no. Many things are functions because they’re not a built-in fea…
Post #AtrkNf5OVONmG4R24O by [email protected]
0 likes, 0 repeats
@slott56 I'm curious. Do you happen to know the history of len()? It'…
Post #AtrkNfBm7fUEZrQ812 by [email protected]
0 likes, 0 repeats
@felyashono it’s both. It’s a function-syntax wrapper for a method. The met…
Post #AtrkNfIrhJ9qvqjn4C by [email protected]
0 likes, 0 repeats
@felyashono the method name is `__len__` making it a “special method” used …
Post #AtrkNfPFJaGJFdit0q by [email protected]
0 likes, 1 repeats
@slott56 Ahh, ok. Thank you!
Post #AtrltEzf9TFEYSNNei by [email protected]
0 likes, 1 repeats
@slott56 I’m thinking about my original question, and I think you've iden…
Post #AttFKdzxNtPZkktPSi by [email protected]
0 likes, 0 repeats
@felyashono the general rule is found here. `import this`Run this at an interac…
Post #AttFKe7OwDMm7qNM48 by [email protected]
0 likes, 1 repeats
@slott56 Oh cool! Thanks!
Post #AttFKePTqzpP1upnFI by [email protected]
0 likes, 0 repeats
@felyashono what’s important is to be suspicious of glib over-simplifications…
Post #AttYFEHLToO9fO9pr6 by [email protected]
0 likes, 0 repeats
@felyashono @DopeGhoti That's right insofar as that methods are bound to cl…
Post #AttYFEPqyBC65m8d7I by [email protected]
0 likes, 1 repeats
@diazona @DopeGhoti Oh, ok. I think what I'm seeing is that a function on …
Post #AttZQov7ggrqRpr1Dk by [email protected]
0 likes, 1 repeats
@diazona @DopeGhoti Yes, thank you for the syntax correction. I know I had see…
You are viewing proxied material from pleroma.anduin.net. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.