In [40]:
data = dict()
In [41]:
data['workElec'] = [input('Enter Working Electrode Material: ')]
In [42]:
data['RefElec'] = input('Enter Reference Electrode Material: ')
In [44]:
data['CountElec'] = input('Enter Counter Electrode Material: ')
In [45]:
data['WorkElecArea'] = input('Enter Working Electrode Area: ')
In [46]:
data['WorkElecArea_units'] = input('Enter Working Electrode Area Units: ')
In [47]:
data['SolventElyte'] = input('Enter Electrolyte Solvent: ')
In [48]:
data['SoluteElyte'] = input('Enter Electrolyte Solute: ')
In [49]:
data['RedoxElyte'] = input('Enter Electrolyte Redox Species: ')
In [50]:
data['MolarityElyte'] = input('Enter Electrolyte Concentration')
In [51]:
data['MolarityElyte_units'] = input('Enter Electrolyte Concentration units: ')
In [52]:
data['Temperature'] = input('Enter System Temperature: ')
In [53]:
data['Temperature_units'] = input('Enter System Temperature Units: ')
In [54]:
data['Model'] = input('Enter instrument information: ')
In [55]:
data['omega'] = input('Enter rotation speed: ')
In [56]:
data['omega_units'] = input('Enter rotation speed units: ')
In [60]:
data['Journal'] = input('Enter journal information: ')
In [61]:
data['Year'] = input('Enter journal year: ')
In [62]:
import csv
with open('Metadata.csv', 'w') as csv_file:
writer = csv.writer(csv_file)
for key, value in data.items():
writer.writerow([key, value])
In [ ]: