22 lines
375 B
Python
Executable file
22 lines
375 B
Python
Executable file
#! /usr/bin/env python3
|
|
# encoding: utf-8
|
|
|
|
from dataclasses import dataclass, field
|
|
import datetime
|
|
import math
|
|
import sys
|
|
|
|
try:
|
|
import over
|
|
except:
|
|
pass
|
|
|
|
try:
|
|
import dec8
|
|
except:
|
|
pass
|
|
|
|
# bpython gets broken by ANSI colors, so skip those
|
|
if type(__builtins__) != dict:
|
|
sys.ps1 = '\001\x1b[1;32m\002>>> \001\x1b[0m\002'
|
|
sys.ps2 = '\001\x1b[0;32m\002... \001\x1b[0m\002'
|