I hav egot problem with string
'replication = {\'class\' : \'NetworkTopologyStrategy\', \'datacenter1\' : {}};'.format(N)
Why does it return:
replication = \{\'class\' : \'NetworkTopologyStrategy\', \'datacenter1\': {} };'.format(N)
KeyError: "'class' "
{and}characters in a format string must be escaped:{{}}