mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
20 lines
669 B
Python
20 lines
669 B
Python
import argparse
|
|
import webbrowser
|
|
|
|
# ---------------------------------------------------- SPACHERO ----------------------------------------------------
|
|
def spachero(l_args):
|
|
parser = argparse.ArgumentParser(prog='spachero',
|
|
description='''Great website for SPACs research. [Source: www.spachero.com]''')
|
|
|
|
try:
|
|
(ns_parser, l_unknown_args) = parser.parse_known_args(l_args)
|
|
|
|
if l_unknown_args:
|
|
print(f"The following args couldn't be interpreted: {l_unknown_args}")
|
|
|
|
webbrowser.open(f"https://www.spachero.com")
|
|
print("")
|
|
|
|
except SystemExit:
|
|
print("")
|
|
return |