15 lines
315 B
Python
Executable file
15 lines
315 B
Python
Executable file
#! /usr/bin/env python3
|
|
# encoding: utf-8
|
|
|
|
import datetime
|
|
import sys
|
|
|
|
try:
|
|
import over
|
|
except:
|
|
pass
|
|
|
|
# bpython defines __name__ == "__console__" and gets broken by ANSI colors, so...
|
|
if __name__ == "__main__":
|
|
sys.ps1 = '\001\x1b[1;32m\002>>> \001\x1b[0m\002'
|
|
sys.ps2 = '\001\x1b[0;32m\002... \001\x1b[0m\002'
|