From c5f70089e3c302fd0df23ebb0830348bcdfb584f Mon Sep 17 00:00:00 2001 From: Veit Heller Date: Wed, 18 Feb 2015 18:39:13 +0100 Subject: [PATCH] Updated README --- README.md | 4 +++- _/__init__.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 331af94..0df137b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,9 @@ If you have a file containing _ code, you can import it after importing _. Cool, huh? Please note that the file you are importing is either an `.us` file or import -it by the fully qualified name(e.g. `import _.py`). +it by the fully qualified name(e.g. `import _.py`). This is to avoid confusion +with actual python modules. I can bring back the feature of including Python +modules, if you want me too, though. The idea behind it is using Pythons import hooks to achieve something similar to mames' original script, only that it works the opposite way. diff --git a/_/__init__.py b/_/__init__.py index 2cdb4c2..c79d0ab 100644 --- a/_/__init__.py +++ b/_/__init__.py @@ -33,7 +33,7 @@ def chunks(li, n): return r def __script__(src): - """For a documentation, consult the README.""" + """For documentation, consult the README.""" code = [] src = [list(to_s(ord(c), 6).rjust(3, "0")) for c in src] src = [int(x, base=6)+1 for sub in src for x in sub]