diff --git a/doitlive/__init__.py b/doitlive/__init__.py index 38283dc..2e5308e 100644 --- a/doitlive/__init__.py +++ b/doitlive/__init__.py @@ -4,6 +4,7 @@ A tool for "live" presentations in the terminal. """ + from .cli import SessionState from .python_consoles import PythonRecorderConsole, PythonPlayerConsole from .styling import THEMES, Style, TermString, TTY, echo, echo_prompt, format_prompt diff --git a/doitlive/python_consoles.py b/doitlive/python_consoles.py index 4de580a..f4767ea 100644 --- a/doitlive/python_consoles.py +++ b/doitlive/python_consoles.py @@ -1,6 +1,7 @@ """InteractiveConsole subclasses for recording and playback of canned Python statements. """ + from code import InteractiveConsole import sys diff --git a/doitlive/styling.py b/doitlive/styling.py index 7b99dc0..3b4c0bb 100644 --- a/doitlive/styling.py +++ b/doitlive/styling.py @@ -1,4 +1,5 @@ """Functions and classes for styling sessions.""" + import datetime as dt import getpass import os diff --git a/doitlive/version_control.py b/doitlive/version_control.py index 9bbd820..d1380a4 100644 --- a/doitlive/version_control.py +++ b/doitlive/version_control.py @@ -1,6 +1,7 @@ """Utility functions to get information about the git or mercurial repository in the working directory """ + import subprocess import os