You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for result in prolog.query('foo("bar", X)'):
print(r['X'])
I get b'baz' and not 'baz', is there any way to get a string as the result?
The text was updated successfully, but these errors were encountered:
joshi-sh
changed the title
Query variable unified with string returns byts instead of string
Query variable unified with string returns bytes instead of string
Sep 18, 2019
For the rule file
And the query
I get
b'baz'
and not'baz'
, is there any way to get a string as the result?The text was updated successfully, but these errors were encountered: