Re: python-on-guile

2020-02-09 Thread david larsson
Thanks for your explanations, but unfortunately I still can't figure out how to use this except in the simplest of cases. I am using the guix package python-on-guile 0.1.0-3.00a51a2 - maybe thats outdated? The simple things I have managed to do, are like: (add-to-load-path (dirname (curre

Re: python-on-guile

2020-02-09 Thread Stefan Israelsson Tampe
I'm the author of that lib. 1) The main bindings are reachable through (language python module python) So you could now go ahead and do > (use-modules (language python module python)) > ;L python And you will get a python shell that works quite ok for one liners 2) If you write a module and pla

python-on-guile

2020-02-09 Thread david larsson
Hi everyone, I am trying to wrap my head around how to use the python-on-guile library, but Im struggling. Does anyone have example code that might help, and which isn't too advanced? All tips and suggestions appreciated! Best regards, David