Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

jtgi pfp
jtgi
@jtgi
I’m learning python after 10y of javascript and taking some notes
6 replies
0 recast
26 reactions

Señor Doggo pfp
Señor Doggo
@fubuloubu
You don't need to add `*,` in function def to use named args (kwargs), you can just do that directly The `*,` syntax is a hack to actually use named args out of sequence (in the middle vs. at the end of the args), but that's more of an advanced technique You can use `*args` to collect all non-keyword args (or have a sequence), and you can use `**kwargs` to collect all keyword args
2 replies
0 recast
2 reactions

jtgi pfp
jtgi
@jtgi
Got it, ty. It’s a great feature just found it funny it didn’t have first class support in some way, keyword or otherwise.
0 reply
0 recast
1 reaction