from kazoo.client import KazooClient

zk = KazooClient(hosts='127.0.0.1:2181')
zk.start()

zk.ensure_path("/testing")			#check if path exists, if not, creates it
zk.create("/testing/node1", b"node1data")		#creates it

zk.stop()