Updated README
This commit is contained in:
@@ -30,7 +30,9 @@ If you have a file containing _ code, you can import it after importing
|
|||||||
_. Cool, huh?
|
_. Cool, huh?
|
||||||
|
|
||||||
Please note that the file you are importing is either an `.us` file or import
|
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
|
The idea behind it is using Pythons import hooks to achieve something similar
|
||||||
to mames' original script, only that it works the opposite way.
|
to mames' original script, only that it works the opposite way.
|
||||||
|
@@ -33,7 +33,7 @@ def chunks(li, n):
|
|||||||
return r
|
return r
|
||||||
|
|
||||||
def __script__(src):
|
def __script__(src):
|
||||||
"""For a documentation, consult the README."""
|
"""For documentation, consult the README."""
|
||||||
code = []
|
code = []
|
||||||
src = [list(to_s(ord(c), 6).rjust(3, "0")) for c in src]
|
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]
|
src = [int(x, base=6)+1 for sub in src for x in sub]
|
||||||
|
Reference in New Issue
Block a user