Arts >> Kunst und Unterhaltung >  >> Tanz >> Tanzgrundlagen

Python-Code-Beispiel: Disco-Ball-Emoji zum Datastore hinzufügen

from google.cloud import datastore # Hilfe zur Authentifizierung: # 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) 

Tanzgrundlagen

Related Categories