Posts by Rohan Harish

Author Biographical Info: Not available

Analog timer using turtle module in Python

By Rohan Harish

In this tutorial, let’s build an analog timer using turtle in Python. Let us have circular representation of hours, minutes and seconds as distance traversed by the respectiv.... Read More

Move all files and specific files from one directory to another using shutil module in Python

By Rohan Harish

In this tutorial, we will learn about moving files from one directory to another using Python’s shutil module. Here we make use of shutil.move() method to move files from sou.... Read More

Reach a desired array in minimum steps with limited operations in Python

By Rohan Harish

In this tutorial, we are going to start with a zero array (that is an array/list of all zeros) and arrive at a desired array in Python by using a combination of two operations of e.... Read More

Analog stopwatch using Python turtle module

By Rohan Harish

In this tutorial, let’s build an analog stopwatch using Python’s turtle module. Let us have a circular representation of hours, minutes and seconds as distance traverse.... Read More

Blackjack console game using Python

By Rohan Harish

In this tutorial, let’s explore how to code a console playable blackjack game using Python with an easy approach to understand the flow of the game. Blackjack is a simple car.... Read More

Programming Arduino Uno as a binary up-counter using Python’s pyfirmata module

By Rohan Harish

In this tutorial, we are going to learn how to establish a connection between Arduino and Python script to control the Arduino. We can understand this better by this example of imp.... Read More

Find line number of a specific string or substring or word from a .txt file in Python

By Rohan Harish

In this tutorial, we are going to learn how to find location of one or many strings in terms of line numbers in a text file using Python. For instance let us assume we want to find.... Read More