Updated README

This commit is contained in:
Veit Heller
2015-02-18 18:39:13 +01:00
parent 8408fd4b2b
commit c5f70089e3
2 changed files with 4 additions and 2 deletions

View File

@@ -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.

View File

@@ -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]