forked from axiom-team/astroport
21 lines
367 B
Python
21 lines
367 B
Python
|
#!/usr/bin/env python
|
||
|
import sys
|
||
|
import fourletterphat
|
||
|
|
||
|
# if bad number of arguments...
|
||
|
if len(sys.argv) != 2:
|
||
|
|
||
|
# display command usage
|
||
|
print("""
|
||
|
Usage:
|
||
|
python 4LETTER.scroll.py "message a afficher"
|
||
|
""")
|
||
|
|
||
|
# exit with status code error
|
||
|
exit(1)
|
||
|
|
||
|
# Get message from arguments
|
||
|
message = sys.argv[1]
|
||
|
fourletterphat.scroll_print( message )
|
||
|
|