update jupyter

This commit is contained in:
Vitor Santos Costa
2018-10-16 14:33:16 +01:00
parent 3fdbbc6a77
commit c59b01e53c
34 changed files with 483 additions and 257 deletions

View File

@@ -10,7 +10,7 @@
:- module( jupyter,
[jupyter_query/3,
blank/1,
streams/1
streams/2
]
).
*/
@@ -91,7 +91,7 @@ blank(Text) :-
close(user_input),
close(user_output),
close(user_error).
streams(true) :-
streams( true) :-
open('/python/input', read, _Input, [alias(user_input),bom(false),script(false)]),
open('/python/sys.stdout', append, _Output, [alias(user_output)]),
open('/python/sys.stderr', append, _Error, [alias(user_error)]).