Arts >> Umenie a zábava >  >> Tanec >> Základy tanca

Python príklad: Pridanie emoji disco guľôčky do Datastore

from google.cloud import datastore # Pre pomoc s autentifikáciou klienta navštívte # https://cloud.google.com/docs/authentication/getting-started client = datastore.Client() key = client.key("Task", "sampleTask") task = datastore.Entity(key) task.update({ "description": "Learn Cloud Datastore", "done": False, "priority": 4, "disco_ball": b'\xe2\x9c\x85' # unicode string }) client.put(task) 

Základy tanca

Related Categories