Hi All,
Consider the situation
[cti@iranim-rhel python_cti]$ cat a.py
def a(a = 1, b = 2, c = 3, *d, **e):
print(a, b, c)
print(d)
print(e)
r = {'e': 7, 'f': 8, 'g': 9}
a(**r)
a(3, **r)
r1 = (4,5,6)
a(3,2,1,*r1, **r)
a(*r1, **r)
r1 = (4,5,6,7)
a(*r1, **r)
[cti@iranim
Considering that the site is going to grow over time, putting the snippets in a
drop-down menu isn't a wise idea in my opinion.
Snippets on a separate page like activestate python would make it more
convenient.
Nice initiative, and would be very helpful when it grows over time.
--
http://mail.