Programs on Networks Using Python

"""-----------------------Email Slicer--------------------------------"""
#defining the email  slicer function 
def email_split():
    print("\t\tWelcome to Email Slicer  ")
    print("")
    email=input("Enter the email address : ")   #Getting user mail address  
    (username,domain)=email.split("@")  #splitting username

    (domain,extensions)=domain.split(".") #splitting domain name and extensions

    print("Username : ",username)
    print("Domain name: ",domain)
    print("Domain server : ",extensions)

#calling the slicer function
email_split()
"""-------------------Connectivty Checker-------------------------"""
import urllib.request as urllib     #pip install urllib


def check(url):
    print("Checking connectivity.....")

    response=urllib.urlopen(url)
    print("Connected to '",url,"' sucessfully.") # if connected
    print("The response code: ",response.getcode())

print("This is a site Connectivity Checker Program")
input_url=input("Enter the full url of the site to  check :")   # Enter the full url of the website E.g : https:\WebGapp.com


check(input_url)

Join our team, where career growth knows no limits.

For More Details

Our internship program guarantees personalized attention for optimal career development in the tech industry.

+91 97879 68375

-> You should bring your own laptop during the internship

Who can apply?

Internships are open for students who: B.E / B.Tech / M.E / M.Tech / B.Sc / M.Sc / M.C.A / B.C.A / Diploma.

  • Ongoing Students Only
  • days, 5days/ 10days or Based on Student Preference
  • Limited 1 to 10 students per slot
  • Registration fees : 1000 INR
  • Slots are filling quickly only fewer slots are available