Hello world!

This is my first post here so lets start with the basics.
I love to program, learn new shit and hack.
I thought about making this because there has been times when I couldn’t actually find the answer to a problem I had. I had to figure it out by trial and error.
Hopefully this will be able to help someone. Or make someones days 😀

Lets start with a nice and easy one. Little trick that I enjoy using from time to time. Yes you could use google to do this as well but it doesn’t feel as cool. The following is the code I use in python to find data on phone numbers that I do not know. Please note that you wont get all the data you want everytime. Some places like Canada and the US actually don’t give much info. But some other countries you’ll get a lot more.

#install phonenumbers using pip
#pip install phonenumbers
import os
import phonenumbers
from phonenumbers import geocoder, carrier, timezone


print("--------------------------------------------------------------------------------------------------")
print("██████  ██   ██  ██████  ███    ██ ███████     ██████  ███████ ██    ██ ███████ ██████  ███████ ")
print("██   ██ ██   ██ ██    ██ ████   ██ ██          ██   ██ ██      ██    ██ ██      ██   ██ ██      ")
print("██████  ███████ ██    ██ ██ ██  ██ █████       ██████  █████   ██    ██ █████   ██████  ███████ ")
print("██      ██   ██ ██    ██ ██  ██ ██ ██          ██   ██ ██       ██  ██  ██      ██   ██      ██ ")
print("██      ██   ██  ██████  ██   ████ ███████     ██   ██ ███████   ████   ███████ ██   ██ ███████ ")
print("--------------------------------------------------------------------------------------------------")

number = input('What is the phone number (add +1 if canada): ')
phone_number = phonenumbers.parse(number)
print(geocoder.description_for_number(phone_number, 'en'))
print(carrier.name_for_number(phone_number, 'en'))
print(timezone.time_zones_for_number(phone_number))

Hope you enjoy more to come!