Python Dictionaries

Dictionaries are one of the most important data-structures of python.You can think dictionaries as a hash map.Data is stored in dictionaries as a key value pair.In this post,you will learn about python dictionaries,different ways of creating python dictionaries,various methods of dictionaries and different ways of accessing dictionary elements. Creating Dictionary… Continue reading

Different ways of Generating Random numbers -Full guide

Sometimes,for testing purpose or for some other reasons we need to generate random numbers and data.In these post I am going to show you how can you generate random numbers using python native random module and python external libraries like Numpy. Generating random numbers with random module 1. Generating numbers… Continue reading

Mastering the Regular Expression (RE) in python

Regular Expression or RE are a great way to search pattern in a large text files and then performing various operations like substitutions and deletion.In this post,you will learn about python’s re module and its various functions like compile,findall,match,search and some advance topics like meta-characters,quantifiers,groups and pattern matching. re.compile() re.compile… Continue reading

Python OS Module -All methods clearly explained

In this tutorial you will learn how to interact with underlying OS with python.You will learn how to use python OS module to join paths,rename directories,making directories,iterating over folders and files. I will explain os module methods like os.getcwd(),os.chdir(),os.listdir(),os.mkdir(),os.makedirs(),os.rmdir(),os.removedirs(),os.rename(),os.stats,os.walk ,os.path and os.path.join() in detail with examples. First we will start… Continue reading