Uncategorized

How to use glob() function to find recursively in python

Glob is a general term used to define techniques to match specified patterns according to rules related to unix shell. In python, the glob module is used to retrieve files matching a speific pattern. Using glob() function to find files recursively We can use the function glob.glob()  or glob().iglob() directly from glob module to path …

How to use glob() function to find recursively in python Read More »

Iterate over words of a String in Python

String In Python, strings are used to represent data which is in the form of characters, numbers, and symbols. The string is a collection of data that is represented in single(”) or double quotes(“”).To strings we can say array like other programming languages. Examples: str=”hello” str1=”helloo123″ str2=”Namaste@ india” In above examples we show  different types …

Iterate over words of a String in Python Read More »

Create random card shuffle system in Python

  Introduction In this tutorial we will learn how to create random card shuffle system in Python using the random.randint(val1,val2). The randint(val1,val2) method returns an integer number selected randomly from the specified range val1,val2. Both the val1 and val2 are included while randomly selecting a value. Shuffling of cards system includes cards- Spade, Heart, Diamond …

Create random card shuffle system in Python Read More »

Take Input from User Separeted By Space in Java Understanding Thread Safety and achieve it in java get the Id of a Current Running Thread in Java

Take Input from User Separeted By Space in Java Understanding Thread Safety and achieve it in java get the Id of a Current Running Thread in Java   import java.util.Scanner; public class ThreadDemo { public static void main (String s[]) { System.out.println(“Enter the number of space separator”); String x=sc.nextLine(); Thread p=new Thread(); String []numbers =x.split(” …

Take Input from User Separeted By Space in Java Understanding Thread Safety and achieve it in java get the Id of a Current Running Thread in Java Read More »

INTRODUCTION TO ARTIFICIAL NEURAL NETWORK(ANN)

In this post we will learn some basics about Artificial Neural Network(ANN) like Introduction to ANN, Architecture of ANN, Types of ANN and Advantages of ANN. INTRODUCTION An artificial neural network is a computional model based on the structure and functionality that resembles biological neural network. In ANN the neurons are interconnected to each other …

INTRODUCTION TO ARTIFICIAL NEURAL NETWORK(ANN) Read More »

Scroll to Top