Skip to content Skip to sidebar Skip to footer
Showing posts with the label Iterable Unpacking

Python Futures And Tuple Unpacking

What is an elagant/idiomatic way to achieve something like tuple unpacking with futures? I have cod… Read more Python Futures And Tuple Unpacking

Unpacking Iterables In Python3?

Why is this returning in sort_tup_from_list for key, val in tup: ValueError: not enough values to u… Read more Unpacking Iterables In Python3?

"unpacking" In C

I am working on rewriting a script from python to C. I'm relatively new to C. I have a variable… Read more "unpacking" In C

Is It Possible To Assign A Default Value When Unpacking?

I have the following: >>> myString = 'has spaces' >>> first, second = myS… Read more Is It Possible To Assign A Default Value When Unpacking?