Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
linenumberstrue
from cytomine import Cytomine
from cytomine.utilities.descriptor_reader import read_descriptor
with Cytomine("host", "public_key", "private_key") as c:
	software = read_descriptor("descriptor.json")
	print("Not executable software created with ID {}".format(software.id))

where host, public_key and private_key have been replaced by your own values.

...