Re: python-on-guile

2020-02-10 Thread david larsson
On 2020-02-09 21:36, Stefan Israelsson Tampe wrote: in sys that is On Sun, Feb 9, 2020 at 9:36 PM Stefan Israelsson Tampe wrote: OKey, I changed the values from immutable lists to lists. Great! On Sun, Feb 9, 2020 at 9:27 PM Stefan Israelsson Tampe wrote: Note that a lot of things are

Re: python-on-guile

2020-02-10 Thread Stefan Israelsson Tampe
> (use-modules (a b c)) did not work for me, except to load modules > already shipped with python-on-guile repo; (language python module > python) etc. You need to specify a root to search for for guile modules, try using e.g. https://www.gnu.org/software/guile/manual/html_node/Load-Paths.html /S

Re: python-on-guile

2020-02-10 Thread Stefan Israelsson Tampe
>Im getting weird results when trying to output the base64 representation >>of a string, take btest.py: > #import sys > import base64 > def mybmethod(x): > mybytes = bytes(x, "utf-8") > encodedbytes = base64.b64encode(mybytes) > myb64string = str(encodedbytes, "utf-8") >

Re: python-on-guile

2020-02-10 Thread Stefan Israelsson Tampe
I have now added the bytes constructor that was not working. To compile from source please try use the git repository at: https://gitlab.com/python-on-guile/python-on-guile/ see readme for how to compile and what dependencies you have. Regards Stefan On Mon, Feb 10, 2020 at 1:14 PM david larss

Re: python-on-guile

2020-02-10 Thread david larsson
On 2020-02-10 21:11, Stefan Israelsson Tampe wrote: I have now added the bytes constructor that was not working. Thanks! To compile from source please try use the git repository at: https://gitlab.com/python-on-guile/python-on-guile/ see readme for how to compile and what dependencies you