Joined July 2014
zip(zero or more) function allows you to iterate over number of iterables. #Python
3
14
You can concatenate list of string using String join() method #Python
4
filter (function,iterable) - evaulate given iterable against a condition and creates new iterable with items passing that condition. #Python
1
6
map() creates a new iterable by applying a given function to every element of the source iterable. #Python
5
Using timedelta to find the differences between dates in #Python.
1
5
Try using strftime function to convert python date-time object to string. #Python
2
Generators are iterators where the values are generated at the time of need without creating or saving all items. #Python
1
5
You can pass function as an argument, assign a #function to a variable in #Python.
1
5
Try using built-in method 'enumerate' for any iterables in #Python.
1
2
Python treats mutable default arguments in function definitions differently #Python Here comes both good and bad practice.
Try using two leading underscores ( __x ), to define private class variables. #Python
1
7