Script for Binasphere construction
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Short script to assist in Binasphere construction (or other text weaving needs).

$ echo 'I see
Do you see me?' > tmp
$ python join 0,1,1 <tmp
I Do you see see me?
$ echo 'I Do you see see me?' | python split 0,1,1
I see
Do you see me?

You can also import and use the module.

>>> import binasphere
>>> binasphere.join([0, 1, 1], ['I see', 'Do you see me?'])
'I Do you see see me?'
>>> binasphere.split([0, 1, 1], 'I Do you see see me?')
['I see', 'Do you see me?']