From 3ef09ab55266b2cef396ea735d1b177586e710cd Mon Sep 17 00:00:00 2001 From: Gijs de Heij Date: Mon, 23 Dec 2019 18:16:25 +0100 Subject: [PATCH] Added a translate function --- asciiWriter/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/asciiWriter/utils.py b/asciiWriter/utils.py index 8be56e6..bed1752 100644 --- a/asciiWriter/utils.py +++ b/asciiWriter/utils.py @@ -52,6 +52,7 @@ def print_lines (lines): stdout.write('{}\n'.format(''.join(line))) def translate(shape, x=0, y=0, space_char=' '): + ## TODO implement a negative translation? translated = [[] for _ in range(y)] for line in shape: