Last active
July 11, 2020 03:43
-
-
Save devilholk/cc794e3482338d2ea116147c3687c4e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ansi_standalone, sys | |
ansi_standalone.install_colored_stdout_retabulator() | |
def F2(): | |
with sys.stdout.indented: | |
print('This is F2') | |
print('We had two lines to say today') | |
def F1(): | |
with sys.stdout.indented: | |
print('This is F1') | |
print('Calling F2') | |
F2() | |
print('Finished calling F2') | |
print('Calling F1') | |
F1() | |
print('Calling F1 complete') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment