Ive got this json response from firebase using the firebase python library. Everything works by im having a hard time decoding the json response to strings so i can view them in tkinter. Any help would be great thanks.
import requests
from firebase import firebase
from Tkinter import *
firebase = firebase.FirebaseApplication('https://-----', None) #hiding the url for security
message = firebase.get('/message', None)
name = firebase.get('/name', None)
print("The message is: ",message," and it's from ",name)
master = Tk()
showmessage = message," from ", name
w = Label(master, text=showmessage)
w.pack()
mainloop()
what im getting looks like this
#printing
('The message is: ', '"this is my message"', " and it's from ",'from a name')
#in tkinter
{"this is my message"}{"from a name"}