This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import urllib.request | |
try: | |
url = "http://dictionary.reference.com/browse/" | |
#This will be our Url where we'll pulled the definition. | |
word = input("Enter your word: ") | |
url = url + word | |
data = urllib.request.urlopen(url).read() | |
data1 = data.decode("utf-8") | |
#To remove any encoding issue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import subprocess | |
import sys | |
from datetime import datetime | |
subprocess.call('cls', shell=True) | |
# Ask for input | |
remoteServer = input("Enter a remote host to scan: ") | |
remoteServerIP = socket.gethostbyname(remoteServer) |