#!/usr/bin/python3

from sys import argv, exit
from netaddr import EUI


try:
    mac = argv[1]
except (IndexError, ValueError):
    print("\nPlease supply an a mac-address as first argument\n")
    exit(2)

print("\nChecking database ...")
macaddress = EUI(mac)
vendor = macaddress.oui.registration().org
print(f"\nVendor: {vendor}\n")

3ede442bab4825e3693563741835f0f4fc9ebf2f
<mask token>

<mask token>
try:
    mac = argv[1]
except (IndexError, ValueError):
    print('\nPlease supply an a mac-address as first argument\n')
    exit(2)
print("""
Checking database ...""")
<mask token>
print(f"""
Vendor: {vendor}
""")

<mask token>
try:
    mac = argv[1]
except (IndexError, ValueError):
    print('\nPlease supply an a mac-address as first argument\n')
    exit(2)
print("""
Checking database ...""")
macaddress = EUI(mac)
vendor = macaddress.oui.registration().org
print(f"""
Vendor: {vendor}
""")

from sys import argv, exit
from netaddr import EUI
try:
    mac = argv[1]
except (IndexError, ValueError):
    print('\nPlease supply an a mac-address as first argument\n')
    exit(2)
print("""
Checking database ...""")
macaddress = EUI(mac)
vendor = macaddress.oui.registration().org
print(f"""
Vendor: {vendor}
""")

#!/usr/bin/python3

from sys import argv, exit
from netaddr import EUI


try:
    mac = argv[1]
except (IndexError, ValueError):
    print("\nPlease supply an a mac-address as first argument\n")
    exit(2)

print("\nChecking database ...")
macaddress = EUI(mac)
vendor = macaddress.oui.registration().org
print(f"\nVendor: {vendor}\n")
