Tutorials

Find Longest Word inside Text File Using Python 3

Find Longest Word inside Text File Using Python 3

In this tutorial, I'll teach you how to find the longest word inside a text file using Python 3. You…

July 6, 2022

Python 3 Code to Find Common Words in Two Strings

In this tutorial, you will learn how to find common words in two strings using Python 3. The complete source…

July 6, 2022

Find Duplicate or Repeating Words in String Using Python 3

main.py string = "Small brown bug bit a small brown dog on his small brown nose"; #Converts the string into…

July 6, 2022

Python 3 Code to Find Frequency of Each Word in String

In this tutorial, you will learn how to find the frequency of each word in a string and display it…

July 6, 2022

Find Duplicate or Repeating Words in String Using C

main.c #include <stdio.h> #include <string.h> int main() { char string[] = "Small brown bug bit a small brown dog on…

July 6, 2022

Find Duplicate or Repeating Words in String Using Java

main.java public class DuplicateWord { public static void main(String[] args) { String string = "Small brown bug bit a small…

July 6, 2022

Find Duplicate or Repeating Words in String Using C#

main.cs using System; public class DuplicateWord { public static void Main() { String string1 = "Small brown bug bit a…

July 6, 2022

Find Duplicate or Repeating Words in String Using PHP 7

index.php <?php $string = "Small brown bug bit a small brown dog on his small brown nose"; $count; //Converts the…

July 6, 2022

Open Website With Proxy in Browser Using Python 3 & Selenium

PROXY = "149.215.113.110:70" webdriver.DesiredCapabilities.FIREFOX['proxy'] = { "httpProxy":PROXY, "ftpProxy":PROXY, "sslProxy":PROXY, "noProxy":None, "proxyType":"MANUAL", "class":"org.openqa.selenium.Proxy", "autodetect":False } # you have to use remote,…

July 6, 2022

Get Coordinates & Dimensions of Element with Python and Selenium

app.py driver = webdriver.Firefox() e = driver.find_element_by_xpath("//someXpath") location = e.location size = e.size w, h = size['width'], size['height'] print(location) print(size)…

July 6, 2022