Understanding Python Turtle Methods With Examples

Turtle module is a part of the standard python installation which provides a drawing board so that we can draw all over it using turtle methods. It is a popular way for introducing programming to kids. It was part of the original Logo programming language developed by Wally Feurzeig, Seymour Papert and Cynthia Solomon in 1967.

Continue Reading Understanding Python Turtle Methods With Examples

Map, filter, Reduce Functions in Python

map() and filter() are built-in function in python library. These functions are generally written in one line and allows programmer to optimize the code length. Both map() and filter() function returns the map and filter object respectively. Both the function operates on iterables with a specified function. Generally lambda function is used instead of normal python function. While reduce() function resides on python 'functools' module.

Continue Reading Map, filter, Reduce Functions in Python

Args and kwargs In Python

People who are new to python programming finds hard to understand two types of function arguments python provides namely *agrs and **kwargs. Let me be clear about one thing, you need not necessarily name those arguments as by same name as above (args and kwargs) you can name those argument as your choice(eg- *agr , *agrs) what is important is that asterisk(*) symbol.

Continue Reading Args and kwargs In Python

How To Create Word Cloud In Python

Word Cloud is a visual representation of text data that helps to get a high level understanding about the important keywords from data in terms of their occurrence. They are most commonly used to highlight popular or trending terms based on frequency of use and prominence.

Continue Reading How To Create Word Cloud In Python